עברית
accent-coloralignalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexfloatfloodfontforced-color-adjustgapgridheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlinelistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstrokestroke-dasharraystroke-dashoffsetstroke-linecapstroke-linejoinstroke-miterlimitstroke-opacitystroke-widthtab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom
The CSS Propertie stroke
The stroke property (SVG) paints along the outline of graphical elements (path, circle, polygon, etc.). Supports solid color, gradient/pattern (via url), or context-fill/stroke. Initial value is none — no outline.
rect {
stroke: blue;
}
path {
stroke: currentColor;
stroke-width: 2;
}
noneDefault. No stroke is painted.currentColorCurrent color value.transparentTransparent color.context-fillUses the fill of the context element (marker, use).context-strokeUses the stroke of the context element.
url()Reference to a paint server (gradient/pattern) with optional fallback.rgb()RGB color.hsl()HSL color.oklch()Oklch color.
SVG 2 — Chapter 13: Painting
W3C Recommendation
<color>
W3CMDN
Show all code
Edit CSS online
The plugin that remembers hundreds of CSS items for you
Every CSS property — in a live demonstration
The bilingual CSS reference
previousnext