Windframe
Build Tailwind UIs that actually look good!
.jpg)
The bg-clip-content class ensures that the background only applies to the content of the element, not the padding or border.
The bg-clip-content class ensures that the background only applies to the content of the element, not the padding or border.
<div class="bg-blue-500 bg-clip-content text-white p-4 border border-gray-400"> Background clipped to content</div>Background clipped to content
Add the bg-clip-content class directly to your HTML element:
<div class="bg-clip-content"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply bg-clip-content at specific breakpoints:
<div class="sm:bg-clip-content md:bg-clip-content lg:bg-clip-content"> Responsive element</div>sm:bg-clip-content — applies from 640px and upmd:bg-clip-content — applies from 768px and uplg:bg-clip-content — applies from 1024px and upYou can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.
Windframe is an AI visual editor for rapidly building stunning web UIs & websites
