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.
CKTIS / CSS
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
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.
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.
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.
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.
The direction property sets the base direction of inline content; it does not simply reverse the characters.
The display property controls an element’s box generation, participation in layout, and arrangement of its contents.
The dominant-baseline property selects the default baseline for aligning text and content participating in baseline alignment.
The dynamic-range-limit property controls an element’s peak HDR luminance. It is inherited; its actual effect requires separate verification.
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.
The field-sizing property switches form controls between their default preferred size and content-based sizing. It does not replace dimensional constraints.
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.
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.
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.
The filter property processes an element and its descendants as an image using effect functions or SVG filter references.
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.
flex-basis sets an item's base size along the main axis, before flex layout distributes free space.
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.
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.
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.
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.