CSS entries starting with “O”

Every CSS entry starting with O, grouped by kind. Pseudo-classes, pseudo-elements and types are filed by their first letter, ignoring the leading :, :: or <.

NameDescription
Color
oldlaceNamed colour #fdf5e6.
oliveNamed colour #808000.
olivedrabNamed colour #6b8e23.
orangeNamed colour #ffa500.
orangeredNamed colour #ff4500.
orchidNamed colour #da70d6.
Container feature
orientationWhether the query container is portrait or landscape.
Descriptor
override-colorsAn @font-palette-values descriptor replacing palette colours by index.
Function
oklab()A colour in the perceptually even OKLab space.
oklch()A colour from lightness, chroma and hue in the OKLCH space.
opacity()A filter that makes an element more transparent.
Media feature
orientationWhether the viewport is portrait or landscape.
overflow-blockHow block-axis overflow is handled: none, scroll or paged.
overflow-inlineWhether inline-axis overflow can be scrolled.
Property
object-fitHow an image or video is sized to fit its box.
object-positionWhere an image or video sits inside its box.
object-view-boxCrops a replaced element's content to a chosen rectangle.
offsetShorthand that places a box on a motion path.
offset-anchorThe point of a box that sits on its motion path.
offset-distanceHow far along its motion path a box sits.
offset-pathThe path a box is placed on.
offset-positionThe starting point of a motion path such as ray().
offset-rotateWhich way a box faces on its motion path.
opacityMakes an element and its contents partly transparent as one group.
orderMoves a flex or grid item earlier or later in the visual order.
orphansThe fewest lines of a paragraph left at the bottom of a page or column.
outlineShorthand for a line drawn outside the border that takes up no space.
outline-colorThe colour of the outline.
outline-offsetThe gap between the border edge and the outline.
outline-styleThe line style of the outline, or auto for the browser focus ring.
outline-widthThe thickness of the outline.
overflowShorthand for what happens when content is bigger than its box.
overflow-anchorOpts an element out of scroll anchoring.
overflow-blockOverflow handling along the block axis.
overflow-clip-marginHow far clipped content may paint outside its box.
overflow-inlineOverflow handling along the inline axis.
overflow-wrapLets an overlong word break to avoid overflow. Formerly word-wrap.
overflow-xOverflow handling in the horizontal axis.
overflow-yOverflow handling in the vertical axis.
overlayWhether an element is in the top layer; transitioned to delay its removal.
overscroll-behaviorShorthand for scroll chaining and overscroll effects at a container's edge.
overscroll-behavior-blockOverscroll behaviour in the block axis.
overscroll-behavior-inlineOverscroll behaviour in the inline axis.
overscroll-behavior-xOverscroll behaviour in the horizontal axis.
overscroll-behavior-yOverscroll behaviour in the vertical axis.
Pseudo-class
:only-childMatches an element with no sibling elements.
:only-of-typeMatches an element with no siblings of the same type.
:openMatches an open details, dialog, or select or input with its picker showing.
:optionalMatches form controls that are not required.
:out-of-rangeMatches an input whose value is outside its min and max.
Type
<overflow-position>safe or unsafe: what alignment does when an item overflows.
<overflow>The overflow keywords: visible, hidden, clip, scroll and auto.