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

box-shadow — CSS box shadows

The box-shadow property adds one or more outer or inner shadows to an element’s box without changing its layout dimensions. Each shadow can have its own offset, blur, spread, and color.

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

box-sizing — how box dimensions are calculated

The box-sizing property determines whether a specified dimension covers only the content or also includes padding and borders. It makes box dimensions predictable without including margins.

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

break-after — controlling breaks after an element

The break-after property controls breaks after an element’s box between pages, columns, or regions. It can force a break or discourage the browser from inserting one; it does not control ordinary text line wrapping.

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

break-before — fragmentation before an element

`break-before` controls breaks before an element's box when content flows across pages, columns, or regions. It can force a break or discourage one; it does not control text wrapping into lines.

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

break-inside — controlling breaks within an element

The break-inside property controls whether the browser should avoid splitting an element’s content across pages, columns, or regions. It can keep content such as a card together, but does not guarantee that the content remains unbroken.

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

caption-side — table caption placement

The CSS caption-side property selects the side of a table on which its caption appears. The core values top and bottom place it above or below the grid, respectively, in a horizontal writing mode.

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

caret-animation — insertion caret animation

The caret-animation property controls browser-driven insertion caret animation. The manual value disables its default blinking.

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

caret-color — insertion caret color

The caret-color property sets the color of the caret marking where text will be inserted. It is inherited and does not change the mouse pointer.

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

caret-shape — insertion caret shape

The caret-shape property specifies the insertion caret’s shape in editable text, not the mouse pointer.

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

clear — moving a block below floats

The clear property specifies which earlier floats must be above a block. Apply it to the element that should no longer sit beside a float.

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

clip — legacy rectangular clipping

The CSS `clip` property limits the visible part of an element to a rectangle without changing its dimensions. It is deprecated: prefer `clip-path` for new code, and learn `clip` mainly for maintaining older stylesheets.

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

clip-path — clipping the visible region

The clip-path property restricts the visible region of an element and its descendants to a chosen shape without changing the space occupied in layout.

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

clip-rule — the SVG clipping-region interior rule

clip-rule determines which parts of a compound SVG shape belong to a clipping region. Its nonzero and evenodd values differ in how they handle intersections and nested subpaths.

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

color — foreground color

The color property sets the foreground color, usually for text. It is inherited and determines the color used by currentcolor.

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

color-interpolation — SVG color interpolation space

color-interpolation selects the space used to calculate intermediate SVG colors. It is inherited and initially sRGB; the example compares two gradients with identical endpoint colors.

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

color-interpolation-filters — SVG filter color space

color-interpolation-filters selects the color-operation space for SVG filters: sRGB or linearRGB. It does not change CSS filter functions.

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

color-scheme — supported color schemes

color-scheme declares support for light or dark rendering, affecting native controls and system colors.

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

column-count — number of columns

The column-count property specifies the target number of columns through which content flows. When column-width is also set, that number acts as an upper limit in layout calculations.

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

column-fill — how columns are filled

The column-fill property controls sequential filling or balancing of column content. It also distinguishes balancing the last fragment from balancing every fragment, such as pages in printed output.

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

column-gap — spacing between columns

The column-gap property specifies spacing between grid or multicolumn columns; in flex layout, its meaning depends on the axis direction.

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

column-height — column block size

column-height specifies the desired block-axis size of columns in a multi-column layout. Together with column-wrap, it enables additional rows of columns.

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

column-rule — a line between columns

column-rule sets the width, style, and color of a separator between columns. The line is decorative: it neither creates columns nor increases the gap between them.

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

column-rule-break — breaking column gap decorations

The column-rule-break property controls where a column gap decoration splits into segments at gap intersections. It does not change gap sizes or the placement of layout items.

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

column-rule-color — color of the rule between columns

The column-rule-color property sets the color of the rule separating columns. It does not enable a visible rule by itself: a suitable style and a nonzero width are also needed.

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