Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

Knowledge base — CSS

Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.

Entries: 899

CSS

CSS custom properties: --*

Custom properties store values under names beginning with --. They participate in the cascade, inherit by default, and let var() substitute their values into other property declarations.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

cx — horizontal center coordinate in SVG

The CSS `cx` property sets the horizontal center coordinate of an SVG `circle` or `ellipse`. It accepts lengths and percentages; it is not a positioning property for ordinary HTML elements.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

cy — vertical center coordinate in SVG

The CSS `cy` property sets the vertical center coordinate of an SVG `circle` or `ellipse`. It accepts a length or a percentage of the current SVG viewport height.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

d — SVG path geometry in CSS

The CSS `d` property defines the geometry of an SVG `path` element. It lets the CSS cascade control the shape; `none` removes the path data from rendering without removing the element itself.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

direction — the inline base direction

The direction property sets the base direction of inline content; it does not simply reverse the characters.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

display — box generation and layout model

The display property controls an element’s box generation, participation in layout, and arrangement of its contents.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

dominant-baseline — the dominant baseline

The dominant-baseline property selects the default baseline for aligning text and content participating in baseline alignment.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

dynamic-range-limit — limiting HDR range

The dynamic-range-limit property controls an element’s peak HDR luminance. It is inherited; its actual effect requires separate verification.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

empty-cells — borders and backgrounds of empty cells

The empty-cells property controls whether empty table cells have painted borders and backgrounds. It works in the separated-borders model, with border-collapse: separate; it has no effect with collapse.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

field-sizing — content-based control sizing

The field-sizing property switches form controls between their default preferred size and content-based sizing. It does not replace dimensional constraints.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

fill — SVG interior paint

The fill property specifies how the interiors of SVG shapes and text glyphs are painted. It accepts a color, gradient, or pattern, or disables interior painting with none.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

fill-opacity — fill paint opacity

The CSS `fill-opacity` property controls the opacity of fill paint, including fills on SVG shapes and text. It does not directly change stroke opacity.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

fill-rule — determining a shape’s interior

The CSS `fill-rule` property determines which regions belong to an SVG shape’s interior. Its `nonzero` and `evenodd` values can produce different results for intersecting or nested subpaths.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

filter — CSS graphical effects

The filter property processes an element and its descendants as an image using effect functions or SVG filter references.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

flex — growth, shrinking, and basis

The flex shorthand sets a flex item's flex-grow, flex-shrink, and flex-basis. It controls sizing along the main axis rather than creating a flex container.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

flex-basis — a flex item's base size

flex-basis sets an item's base size along the main axis, before flex layout distributes free space.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

flex-direction — Flexbox main-axis direction

The flex-direction property sets a Flexbox container’s main-axis direction. It selects the inline or block axis and can reverse the direction in which items are laid out without changing DOM order.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

flex-flow — flex direction and wrapping

The flex-flow shorthand sets flex-direction and flex-wrap together on a flex container. It determines the main-axis direction and whether items can move onto additional lines.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

flex-grow — sharing free space

The flex-grow property controls how a flex item participates in distributing positive free space along the main axis. Its factors describe size increases, not the proportions of final widths.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

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.

Advanced · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

flex-shrink — the flex item shrink factor

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.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

flex-wrap — wrapping flex items

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

float — wrapping text around a box

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.

Basic · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
CSS

flood-color — SVG filter primitive flood color

The flood-color property sets the color used by the SVG filter primitives feFlood and feDropShadow. It is not a replacement for fill.

Intermediate · CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required