Menu Samaritan's Purse

FLEX-SHRINK

The flex-shrink property sets the flex shrink factor to the provided number.

SYNTAX

CSS

flex-shrink: value;

JS

object.style.flexShrink = "value";

VALUES

<'flex-shrink'> = <number [0,∞]>
<number [0, ∞]>

An integer or zero or more decimal digits followed by a dot (.) followed by one or more decimal digits. The first character may be preceded by a positive sign (+). The last character may be succeeded by an exponent (e or E) and an integer.

INITIAL

1

EXAMPLES

NUMBER

JS

INTERNAL

flex

flex-basis

flex-grow

EXTERNAL

World Wide Web Consortium (W3C)