Skip to main content

Border Style

Utilities for controlling the style of an element's borders.

CSS Property:border-style
Classes:6

Border Style Classes

ClassCSS
border-solidborder-style: solid;
border-dashedborder-style: dashed;
border-dottedborder-style: dotted;
border-doubleborder-style: double;
border-hiddenborder-style: hidden;
border-noneborder-style: none;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[border-style:value]

Responsive Variants

Apply border style utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:border-solid
768px+md:md:border-solid
1024px+lg:lg:border-solid
1280px+xl:xl:border-solid
1536px+2xl:2xl:border-solid