styleditor.net styleditor.net styleditor.net styleditor.net English accent-coloralignalignment-baselineallanchoranimationappearanceaspect-ratiobackdrop-filterbackface-visibilitybackgroundbaselineblock-sizeborderbottomboxbreakcaption-sidecaretclearclipcolorcolumncolumnscontaincontainercontentcornercountercursorcxcyddirectiondisplaydominant-baselinedynamic-range-limitempty-cellsfield-sizingfillfilterflexfloatfloodfontfont-familyfont-feature-settingsfont-kerningfont-language-overridefont-optical-sizingfont-palettefont-sizefont-size-adjustfont-smoothfont-stretchfont-stylefont-synthesisfont-synthesis-positionfont-synthesis-small-capsfont-synthesis-stylefont-synthesis-weightfont-variantfont-variant-alternatesfont-variant-capsfont-variant-east-asianfont-variant-emojifont-variant-ligaturesfont-variant-numericfont-variant-positionfont-variation-settingsfont-weightforced-color-adjustgapgridheighthyphenatehyphensimageime-modeinitial-letterinline-sizeinsetinteractivityinterestinterpolate-sizeisolationjustifyleftletter-spacinglighting-colorlinelistmarginmarkermaskmathmaxminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

The CSS Propertie font-size

מאפיין font-size קובע את גובה הגליפים מהפונט. בפונטים סקיילביליים זהו פקטור scale על יחידת ה-EM. תומך במילות מפתח של גודל מוחלט/יחסי, יחידות מספריות וערך math לטקסט מתמטי. ערכי אחוז יחסיים ל-font-size של ההורה.
p { font-size: 16px; } h1 { font-size: clamp(1.5rem, 2vw + 1rem, 3rem); }
פחות:0 יותר:9999 צעד:1 יחידות:px | em | rem | % | pt | vw | vh xx-small<absolute-size>: פקטור scale 3/5 (זעיר ביותר).x-small<absolute-size>: פקטור scale 3/4.small<absolute-size>: פקטור scale 8/9.medium<absolute-size>: פקטור scale 1 (ברירת המחדל).large<absolute-size>: פקטור scale 6/5.x-large<absolute-size>: פקטור scale 3/2.xx-large<absolute-size>: פקטור scale 2/1.xxx-large<absolute-size>: פקטור scale 3/1.larger<relative-size>: גדול יותר מההורה (לפי טבלה או ביחס ~1.2-1.5x).smaller<relative-size>: קטן יותר מההורה.mathכללי scaling מיוחדים לטקסט מתמטי (MathML). CSS Fonts Module Level 4 Editor's Draft <length-percentage> W3CMDN
CSS css aBcDeF Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטסוגי ערכיםמקורות מידעהדגמה חזותית