☰ styleditor.net styleditor.net styleditor.net styleditor.net English 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

מאפיין line-height קובע את גובה השורה — המרחק בין קווי הבסיס של שורות עוקבות. מקבל מספר (מכפלה של font-size, מומלץ — לא מוריש את הגובה המחושב), אורך מוחלט, אחוז (ביחס ל-font-size), או normal.
p { line-height: 1.5; } body { font-size: 16px; line-height: 1.6; } h1 { line-height: 1.1; }
פחות:0 יותר:9999 צעד:0.05 יחידות: | em | px | rem | % normalערך הדפדפן (בדרך כלל 1.2× font-size; תלוי בפונט) (ברירת המחדל). CSS Inline Layout Module Level 3 Editor's Draft <length-percentage> W3CMDN
CSS css aBcDeF
CSS css aBcDeF
CSS css aBcDeF
Show all code
ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטסוגי ערכיםמקורות מידעהדגמה חזותית