Windframe
Build Tailwind UIs that actually look good!
.jpg)
The rounded-e class in Tailwind CSS applies the default border-radius to the end side of an element — which refers to the right side in left-to-right (LTR) layouts and the left side in right-to-left (RTL) layouts.
The rounded-e class in Tailwind CSS applies the default border-radius to the end side of an element — which refers to the right side in left-to-right (LTR) layouts and the left side in right-to-left (RTL) layouts. This includes both the top-end and bottom-end corners, making it useful for directional UI styling.
<div class="flex font-semibold"> <button class="bg-gray-300 px-4 py-2 rounded-s">Back</button> <button class="bg-indigo-600 text-white px-4 py-2 rounded-e">Next</button></div>In the example above, rounded-e gives the "Next" button rounded corners on the right side (or end side), while rounded-s rounds the start side of the "Back" button — perfect for grouped buttons or inputs.
Add the rounded-e class directly to your HTML element:
<div class="rounded-e"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply rounded-e at specific breakpoints:
<div class="sm:rounded-e md:rounded-e lg:rounded-e"> Responsive element</div>sm:rounded-e — applies from 640px and upmd:rounded-e — applies from 768px and uplg:rounded-e — 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
