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.
CKTIS / CSS
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
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.
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.
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.
`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.
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.
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.
The caret-animation property controls browser-driven insertion caret animation. The manual value disables its default blinking.
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.
The caret-shape property specifies the insertion caret’s shape in editable text, not the mouse pointer.
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.
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.
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.
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.
The color property sets the foreground color, usually for text. It is inherited and determines the color used by currentcolor.
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.
color-interpolation-filters selects the color-operation space for SVG filters: sRGB or linearRGB. It does not change CSS filter functions.
color-scheme declares support for light or dark rendering, affecting native controls and system colors.
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.
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.
The column-gap property specifies spacing between grid or multicolumn columns; in flex layout, its meaning depends on the axis direction.
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.
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.
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.
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.