Skip to content

Inset Ring Width

Use inset-ring or inset-ring-{N} utilities like inset-ring-2 and inset-ring-4 to add a ring inside an element’s border-box. The default inset-ring width is 1px and any non-negative integer is accepted.

Style('inset-ring ...', child: Text('Subscribe'))
Style('inset-ring-2 ...', child: Text('Subscribe'))
Style('inset-ring-4 ...', child: Text('Subscribe'))

By default inset rings match the currentColor of the element they are applied to.

ClassValue
inset-ring1px
inset-ring-00px
inset-ring-11px
inset-ring-22px
inset-ring-44px
inset-ring-88px
inset-ring-{N}Npx (any non-negative integer)