CSS shorthand `list-style`
`list-style` sets a list item’s marker type, position, and optional image in one declaration.
CKTIS / CSS
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
`list-style` sets a list item’s marker type, position, and optional image in one declaration.
`list-style-image` selects the image used in place of the list marker symbol.
`list-style-position` places the marker outside or inside the list item principal box.
`list-style-type` selects the glyph, string, or counter style used for the list marker.
`margin` sets a box’s physical outer margins in top, right, bottom, and left order.
`margin-block` is a shorthand for the block-start and block-end margins, whose physical sides come from the writing mode.
`margin-block-end` sets the margin at the logical end of the block axis rather than at a fixed physical side.
`margin-block-start` sets the margin at the logical start of the block axis, which depends on the writing mode.
`margin-bottom` sets the box’s physical bottom margin regardless of writing mode.
`margin-inline` is a shorthand for the inline-start and inline-end margins, mapped by writing mode and text direction.
`margin-inline-end` sets the outer margin at the logical end of the inline axis; writing mode and text direction determine its physical side.
`margin-inline-start` sets the outer margin at the logical start of the inline axis, mapped by writing mode and text direction.
`margin-left` sets the physical left margin regardless of text direction or writing mode.
`margin-right` sets the physical right margin and does not switch sides with text direction.
`margin-top` sets the physical top margin; in vertical writing its logical name changes with direction, but its physical side remains the top.
`marker` assigns start, middle, and end markers to SVG geometry.
`marker-end` assigns the last-vertex marker to SVG geometry.
`marker-mid` assigns intermediate-vertex markers to SVG geometry.
`marker-start` assigns the first-vertex marker to SVG geometry.
`mask` writes each mask layer’s image, position, size, repetition, geometry areas, interpretation mode, and compositing operator in one declaration.
`mask-clip` restricts each image-mask painting area to a selected geometry box, or removes that restriction with `no-clip`.
`mask-composite` selects the Porter–Duff operator that combines the current mask layer with the already-composited result of the layers below it.
`mask-image` selects, for each layer, no image, a CSS image such as a gradient, or a URL to an image or SVG `<mask>` element.
`mask-mode` chooses per layer whether mask values come from alpha, from luminance multiplied by alpha, or from the source type.