Loading...

flex-shrink

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

CSS class prefixes and related properties

Class name prefixCSS properties
fle-shr-*-o-flex-shrink, -webkit-flex-shrink, flex-shrink

CSS class suffixes and property values

Class name suffixCSS properties value
*-00
*-11
*-22
*-33
*-inheritinherit
*-initialinitial
*-revertrevert
*-unsetunset

fle-shr: -o-flex-shrink, -webkit-flex-shrink, flex-shrink

.fle-shr-0.fle-shr-0-hover.fle-shr-1.fle-shr-1-hover.fle-shr-2.fle-shr-2-hover.fle-shr-3.fle-shr-3-hover.fle-shr-inherit.fle-shr-inherit-hover.fle-shr-initial.fle-shr-initial-hover.fle-shr-revert.fle-shr-revert-hover.fle-shr-unset.fle-shr-unset-hover
.fle-shr-0 {
  -o-flex-shrink: 0;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
© Cssville 2026
Hosted by Vercel.Protected by Cloudback.