Borders

Border Width

Utilities for sets border width in increments of 1px.


Class

classcss
borderborder-width: 1px
border-0border-width: 0
border-2border-width: 2px
border-4border-width: 4px
border-8border-width: 8px
border-t-0border-top-width: 0
border-r-0border-right-width: 0
border-b-0border-bottom-width: 0
border-l-0border-left-width: 0
border-t-2border-top-width: 2px
border-r-2border-right-width: 2px
border-b-2border-bottom-width: 2px
border-l-2border-left-width: 2px
border-t-4border-top-width: 4px
border-r-4border-right-width: 4px
border-b-4border-bottom-width: 4px
border-l-4border-left-width: 4px
border-t-8border-top-width: 8px
border-r-8border-right-width: 8px
border-b-8border-bottom-width: 8px
border-l-8border-left-width: 8px

Usage

<!-- Example -->
<y class="border-8">
...
</y>

Customize More

// @file: `src/_plugins.scss`
@include plugin(
(
utility: 'border',
//variant: 'responsive',
property: 'border',
modifier: (
'10': '...px',
'12': '...px'
...
)
)
)

Variant

VariantEnabledResponsive
DefaultYes
Dark Theme
hover
group-hover
focusYes
focus-within
active
visited
checked
disabled