Windframe
Build Tailwind UIs that actually look good!
.jpg)
The rounded-s class in Tailwind CSS applies the default border-radius to the start side of an element. In left-to-right (LTR) layouts, this affects the top-left and bottom-left corners.
The rounded-s class in Tailwind CSS applies the default border-radius to the start side of an element. In left-to-right (LTR) layouts, this affects the top-left and bottom-left corners. In right-to-left (RTL) layouts, it targets the top-right and bottom-right corners. This utility is useful for building direction-aware UIs.
<div class="rounded-s">...</div><div class="bg-green-600 text-white p-4 font-semibold rounded-s"> Rounded start-side corners.</div>Rounded start-side corners.
Use rounded-s when you want to apply the default border-radius to the start side of an element. It's perfect for creating rounded button groups, cards, and form controls that adapt to both LTR and RTL layouts.
Add the rounded-s class directly to your HTML element:
<div class="rounded-s"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply rounded-s at specific breakpoints:
<div class="sm:rounded-s md:rounded-s lg:rounded-s"> Responsive element</div>sm:rounded-s — applies from 640px and upmd:rounded-s — applies from 768px and uplg:rounded-s — 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
