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-b
corner-top-shape: bevel;
cts-n
corner-top-shape: notch;
cts-r
corner-top-shape: round;
cts-s
corner-top-shape: squircle;

Responsiveness

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

sm:cts-(value)
Small640px
md:cts-(value)
Medium768px
lg:cts-(value)
Large1024px
xxl:cts-(value)
Extra Large1536px

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)