Replies: 1 comment
-
As per the CSS Border spec https://www.w3.org/TR/css-backgrounds-3/#corner-overlap
That's why you needed to add 3500px to start seeing something: proportionally reduce So the only way to preciselly give An example: for this button with <button class="h-10 px-6 bg-indigo-200 text-indigo-900 btn">Lorem ipsum</button> .btn {
border-radius: 1.25rem 1.25rem .5rem 1.25rem;
} I don't know if would be possible for Tailwind to provide different rounded border utilities given the amount of sizes an element could have (taking into account height, padding, line-height, etc.) |
Beta Was this translation helpful? Give feedback.
-
Hello!
When attempting to create a button that is
rounded-full
but with a single, less round corner viarounded-br-lg
I am not seeing the behavior I'd expect given the rest of the composability of tailwind.rounded-full
setsborder-radius: 9999px
and it seems the only way to approximaterounded-br-lg
was to addborder-bottom-right-radius: 3500px
Beta Was this translation helpful? Give feedback.
All reactions