CSS entries starting with “S”

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

NameDescription
Color
SelectedItemSystem colour: the background of a selected item.
SelectedItemTextSystem colour: text of a selected item.
saddlebrownNamed colour #8b4513.
salmonNamed colour #fa8072.
sandybrownNamed colour #f4a460.
seagreenNamed colour #2e8b57.
seashellNamed colour #fff5ee.
siennaNamed colour #a0522d.
silverNamed colour #c0c0c0.
skyblueNamed colour #87ceeb.
slateblueNamed colour #6a5acd.
slategrayNamed colour #708090.
slategreyNamed colour #708090.
snowNamed colour #fffafa.
springgreenNamed colour #00ff7f.
steelblueNamed colour #4682b4.
Container feature
scroll-state()A container query on scroll state: stuck, snapped, scrollable, scrolled.
scrollableWhether the container can be scrolled further in a direction.
scrolledThe direction the container was most recently scrolled.
snappedWhether the container is the current scroll snap target.
stuckWhether a sticky container is stuck to an edge.
style()A container query on the value of a custom property.
Descriptor
sizeAn @page descriptor: the size and orientation of the page box.
size-adjustAn @font-face descriptor that scales the font's glyphs and metrics.
speak-asAn @counter-style descriptor: how screen readers read the marker.
srcAn @font-face descriptor listing the font files or local fonts to use.
suffixAn @counter-style descriptor: a symbol placed after the marker.
symbolsAn @counter-style descriptor: the symbols the counter is built from.
syntaxAn @property descriptor: the type a custom property accepts.
systemAn @counter-style descriptor: the algorithm that turns numbers into symbols.
Environment variable
safe-area-inset-bottomDistance from the bottom of the viewport to the unobscured safe area.
safe-area-inset-leftDistance from the left of the viewport to the unobscured safe area.
safe-area-inset-rightDistance from the right of the viewport to the unobscured safe area.
safe-area-inset-topDistance from the top of the viewport to the unobscured safe area.
Function
saturate()A filter that adjusts colour saturation.
scale()Resizes a box in one or both axes from its transform origin.
scale3d()Scales a box along the x, y and z axes.
scaleX()Resizes a box along the x axis.
scaleY()Resizes a box along the y axis.
scaleZ()Scales a box along the z axis.
scroll()An animation timeline driven by a scroll container's scroll position.
selector()An @supports test for whether the browser supports a selector.
sepia()A filter that converts colours towards a sepia tone.
shape()A responsive path written as CSS drawing commands.
sibling-count()The number of element children of the element's parent.
sibling-index()The element's position among its siblings, starting at 1.
sign()Returns -1, 0 or 1 for the sign of its argument.
sin()The sine of an angle.
skew()Slants a box along the x and optional y axis.
skewX()Slants a box along the x axis.
skewY()Slants a box along the y axis.
sqrt()The square root of a number.
steps()Easing in a number of equal jumps, for frame-by-frame animation.
superellipse()A corner curve for corner-shape, from notch to square.
symbols()An anonymous counter style defined inline.
Keyword
sans-serifGeneric font family: a font without serifs.
serifGeneric font family: a font with serifs.
step-endEasing that holds the start value, then jumps at the end.
step-startEasing that jumps to the end value immediately.
system-uiGeneric font family: the operating system's interface font.
Media feature
scanWhether the display is interlaced or progressive.
scriptingWhether scripting such as JavaScript is available.
Property
scaleScales a box along x, y and z.
scroll-axis-lockWhether a scroll gesture may be locked to a single axis.
scroll-behaviorMakes navigation and scripted scrolls animate smoothly.
scroll-initial-targetMakes a scroll container start out scrolled to this element.
scroll-marginShorthand for the space kept around an element when it is scrolled into view.
scroll-margin-blockShorthand for the block-start and block-end scroll margins.
scroll-margin-block-endThe scroll margin on the block-end side of an element.
scroll-margin-block-startThe scroll margin on the block-start side of an element.
scroll-margin-bottomThe scroll margin below an element.
scroll-margin-inlineShorthand for the inline-start and inline-end scroll margins.
scroll-margin-inline-endThe scroll margin on the inline-end side of an element.
scroll-margin-inline-startThe scroll margin on the inline-start side of an element.
scroll-margin-leftThe scroll margin to the left of an element.
scroll-margin-rightThe scroll margin to the right of an element.
scroll-margin-topThe scroll margin above an element.
scroll-marker-groupGenerates a group of scroll markers before or after a scroll container.
scroll-paddingShorthand for the scroll container insets used when scrolling things into view.
scroll-padding-blockShorthand for the block-start and block-end scroll paddings.
scroll-padding-block-endThe scroll padding on the block-end side of a scroll container.
scroll-padding-block-startThe scroll padding on the block-start side of a scroll container.
scroll-padding-bottomThe scroll padding at the bottom of a scroll container.
scroll-padding-inlineShorthand for the inline-start and inline-end scroll paddings.
scroll-padding-inline-endThe scroll padding on the inline-end side of a scroll container.
scroll-padding-inline-startThe scroll padding on the inline-start side of a scroll container.
scroll-padding-leftThe scroll padding on the left of a scroll container.
scroll-padding-rightThe scroll padding on the right of a scroll container.
scroll-padding-topThe scroll padding at the top of a scroll container.
scroll-snap-alignWhere an element aligns when its scroll container snaps to it.
scroll-snap-stopStops a fast scroll from skipping past this snap position.
scroll-snap-typeMakes a scroll container snap to its children, in which axis and how strictly.
scroll-target-groupTracks a group of anchor links so the one in view matches :target-current.
scroll-timelineShorthand that names a scroll container's scroll timeline.
scroll-timeline-axisWhich scroll direction a scroll timeline tracks.
scroll-timeline-nameThe name of the scroll timeline an element defines.
scrollbar-colorThe thumb and track colours of scrollbars.
scrollbar-gutterReserves space for the scrollbar so content does not shift.
scrollbar-widthDefault, thin or hidden scrollbars.
shape-image-thresholdThe alpha level that counts as inside a shape taken from an image.
shape-marginExtra space round a float shape.
shape-outsideA non-rectangular outline for text to wrap round a float.
shape-renderingA hint to favour speed, crisp edges or precision when drawing shapes.
speakWhether an element's text is spoken by a speech synthesiser.
speak-asHow text is read aloud: spelled out, digit by digit, with or without punctuation.
stop-colorThe colour of an SVG gradient stop.
stop-opacityThe opacity of an SVG gradient stop.
strokePaints the outline of an SVG shape or text.
stroke-colorSets the stroke to a colour. Safari only.
stroke-dasharrayTurns an SVG stroke into a pattern of dashes and gaps.
stroke-dashoffsetWhere the dash pattern starts along an SVG stroke.
stroke-linecapThe shape at the open ends of an SVG stroke.
stroke-linejoinThe shape of an SVG stroke at corners.
stroke-miterlimitHow long a miter join may get before it becomes a bevel.
stroke-opacityThe opacity of an SVG stroke alone.
stroke-widthThe thickness of an SVG stroke.
Pseudo-class
:scopeMatches the scoping root of an @scope block or a querySelector call.
:seekingMatches a media element while it is seeking.
:stalledMatches a media element that has received no data for some time.
:state()Matches a custom element that has a given custom state.
Pseudo-element
::scroll-button()A generated button that scrolls its container in one direction.
::scroll-markerA generated marker that tracks and scrolls to an item, like a carousel dot.
::scroll-marker-groupThe box that holds a scroll container's scroll markers.
::search-textText matched by the browser's find-in-page feature.
::selectionThe text the user has selected.
::slotted()Inside a shadow tree, styles light-DOM elements assigned to a slot.
::spelling-errorText the browser has flagged as misspelled.
Selector
selector listA comma-separated list that applies one rule to several selectors.
Type
<self-position>Place one item within its own alignment area.
<shadow>One shadow: offsets, blur, spread, colour and inset.
<shape-box>The reference box for a float's wrap shape.
<single-animation-composition>replace, add or accumulate: how an animation combines with other values.
<single-animation-direction>normal, reverse, alternate or alternate-reverse.
<single-animation-fill-mode>Whether keyframe styles apply before and after an animation runs.
<single-animation-iteration-count>How many times an animation repeats, or infinite.
<single-animation-play-state>running or paused.
<single-transition>One transition in the transition shorthand.
<string>Text in double or single quotes.
<system-color>Keywords for the browser and system colours of pages and controls.
Unit
sSeconds.
svb1% of the small viewport in the block axis.
svh1% of the small viewport height, with toolbars shown.
svi1% of the small viewport in the inline axis.
svmax1% of the small viewport's larger dimension.
svmin1% of the small viewport's smaller dimension.
svw1% of the small viewport width, with toolbars shown.