You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new corner-shape utility allows developers to specify a superellipse (as well as certain supported keywords that map to superellipses, like a squircle).
It would be great to be able to use these natively in tailwind. Proposed API:
corner-default: corner-shape: round; (not sure if round or default is a better name here)
corner-squricle: corner-shape: squircle;
corner-bevel: corner-shape: bevel;
corner-scoop: corner-shape: scoop;
corner-notch: corner-shape: notch;
corner-square: corner-shape: sqare; (not actually sure who would use this, but good for parity)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The new
corner-shapeutility allows developers to specify a superellipse (as well as certain supported keywords that map to superellipses, like a squircle).It would be great to be able to use these natively in tailwind. Proposed API:
corner-default:corner-shape: round;(not sure if round or default is a better name here)corner-squricle:corner-shape: squircle;corner-bevel:corner-shape: bevel;corner-scoop:corner-shape: scoop;corner-notch:corner-shape: notch;corner-square:corner-shape: sqare;(not actually sure who would use this, but good for parity)corner-superellipse-*:corner-shape: superellipse(number);Beta Was this translation helpful? Give feedback.
All reactions