Corner Top Shape
Set the shape for the top corners of an element.
Limited availability
This feature does not work in some of the most widely-used browsers.
Chrome
Edge
Firefox
Safari
cts-bcorner-top-shape: bevel;cts-ncorner-top-shape: notch;cts-rcorner-top-shape: round;cts-scorner-top-shape: squircle;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
sm:cts-(value)Small≥640px
md:cts-(value)Medium≥768px
lg:cts-(value)Large≥1024px
xxl:cts-(value)Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:cts-(value)