עברית
accent-coloralignalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexfloatfloodfontforced-color-adjustgapgridheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlineline-breakline-heightlistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom
line-height CSS Property
The line-height property sets the line height — the distance between baselines of consecutive lines. Accepts a number (multiplier of font-size, recommended — doesn't inherit computed height), absolute length, percentage (of font-size), or normal.
p {
line-height: 1.5;
}
body {
font-size: 16px;
line-height: 1.6;
}
h1 {
line-height: 1.1;
}
min:0
max:9999
step:0.05
units: | em | px | rem | %
normalUA value (typically ~1.2× font-size; font-dependent) (default).
CSS Inline Layout Module Level 3
Editor's Draft
<length-percentage>
W3CMDN
CSS css aBcDeF
CSS css aBcDeF
CSS css aBcDeF
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