Built-in concentric corner utilities #18117
Replies: 2 comments 1 reply
-
|
This would be nice, but I propose that instead of using The Eventually you only need one explicit rounded corners of the first elements and everything else can be |
Beta Was this translation helpful? Give feedback.
-
|
Would be curious of any progress on this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now concentric corners are a bit of a pain to do nicely in tailwind, and so I propose the following changes:
1.
rounded-*classes set--tw-corner-radiusMake rounded classes set corner radius, so they can be used by the following classes
2.
rounding-gap-*classes (please give better names)The
rounding-gap-*classes would apply the following css:3. Introduce the
concentricclassThe
concentricclass simply applies the following:Examples
Let's say somebody had a card, and they wanted a rounded button at the end. They could do something like the following:
Beta Was this translation helpful? Give feedback.
All reactions