Loading...

box-shadow

Cssville has 6 utility classes for box-shadow. Add one to an element's class attribute to set the property, for example box-sha-lg. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-box-sha-lg. Add -hover to the end to apply a class only on hover, as in box-sha-lg-hover. Getting started explains how class names are built.

CSS class prefixes and related properties

Class name prefixCSS properties
box-sha-*box-shadow

CSS class suffixes and property values

Class name suffixCSS properties value
*-xsvar(--cssville-xs-shadow) var(--cssville-color-shadow)
*-smvar(--cssville-sm-shadow) var(--cssville-color-shadow)
*-mdvar(--cssville-md-shadow) var(--cssville-color-shadow)
*-lgvar(--cssville-lg-shadow) var(--cssville-color-shadow)
*-xlvar(--cssville-xl-shadow) var(--cssville-color-shadow)
*-nonenone

box-sha: box-shadow

.box-sha-xs.box-sha-xs-hover.box-sha-sm.box-sha-sm-hover.box-sha-md.box-sha-md-hover.box-sha-lg.box-sha-lg-hover.box-sha-xl.box-sha-xl-hover.box-sha-none.box-sha-none-hover
.box-sha-xs {
  box-shadow: var(--cssville-xs-shadow) var(--cssville-color-shadow);
}
© Cssville 2026
Hosted by Vercel.Protected by Cloudback.