flex-line-count — minimum flex line count
A Flexbox Level 2 draft property that sets a minimum line count for balancing and also affects available cross-axis space.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
A Flexbox Level 2 draft property that sets a minimum line count for balancing and also affects available cross-axis space.
flex-shrink controls a flex item's share of size reduction when its flex line lacks space. The item's base size also affects that share.
The flex-wrap property determines whether a flex container has one line or can create additional lines, and the direction in which those lines stack. Set it on the container, not its items.
The float property moves a box to one side so nearby text lines can wrap around it. Learn float directions, the difference between clear and flow-root, and how to check a small example.
The flood-color property sets the color used by the SVG filter primitives feFlood and feDropShadow. It is not a replacement for fill.
The flood-opacity property controls the opacity of the color generated by feFlood and the shadow color of feDropShadow in SVG filters.
The font property sets several font parameters in one declaration. Its ordinary form requires a size and family; omitted components are reset rather than preserving earlier settings.
The font-family property specifies a prioritized list of font families. The browser selects an available font that supports the text, falling back to later entries when necessary.
font-feature-settings controls OpenType features using tags and values. It mainly serves settings unavailable through higher-level properties; the visual effect depends on the font.
font-kerning controls glyph-spacing adjustments using font data. It does not set uniform spacing between letters.
The font-language-override property selects an OpenType language system independently of the content language. It does not replace lang.
font-optical-sizing controls adjustment of glyph shapes to text size when the font supplies suitable optical variants.
The font-palette property selects a font’s color palette. It is inherited and has the initial value normal.
The font-size property sets the font size and is inherited. Percentages and em in this property refer to the parent's font size, while rem refers to the root element's font size.
The font-size-adjust property scales the font in use according to a selected metric, such as x-height. It helps preserve a similar apparent text size with fallback fonts without changing the computed font-size.
font-stretch selects a narrower or wider face within a font family instead of geometrically stretching text. Its visual effect depends on the available faces.
The font-style property selects an upright, italic, or oblique face. It is inherited; the actual appearance depends on the available fonts.
font-synthesis controls replacement font variants when suitable faces or glyphs are missing. It does not disable genuine bold or italic faces.
The font-synthesis-small-caps property allows or forbids synthetic small caps without disabling genuine small-cap glyphs supplied by a font.
font-synthesis-style determines whether the browser may artificially slant glyphs when a suitable font face is missing. It does not replace font-style.
The font-synthesis-weight property permits or blocks synthetic bold when a font family lacks a bold face.
font-variant sets typographic variants such as small capitals, ligatures, and tabular figures. As a shorthand, it also resets omitted component properties.
The font-variant-alternates property selects alternate glyphs available in a font without changing the text's characters.
font-variant-caps selects small capitals and other letter variants within a typeface. Its appearance depends on available glyphs and possible synthesis.