corner-top-shape — top corner shapes
A CSS shorthand that sets the shapes of both top corners independently of their size, which is controlled by border-radius.
CKTIS / Knowledge base
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
A CSS shorthand that sets the shapes of both top corners independently of their size, which is controlled by border-radius.
`counter-increment` changes named CSS counters by a specified integer. Display the result using `counter()` in generated content.
counter-reset creates named counters with initial values; it does not itself increment or display them.
The counter-set property assigns a specific value to a CSS counter, allowing numbering to change without creating a new nested counter.
The cursor property specifies the pointing-device cursor over an element. It accepts a keyword or images followed by a mandatory fallback keyword.
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.