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-colorlinelistmarginmarkermaskmathmaxmax-block-sizemax-heightmax-inline-sizemax-widthminmix-blend-modeobjectoffsetopacityorderorphansoutlineoverflowoverlayoverscrollpaddingpagepaint-orderperspectiveplacepointer-eventspositionprint-color-adjustquotesrreadingresizerightrotaterowrubyrulerxryscalescrollscrollbarshapespeakstopstroketab-sizetable-layouttexttimelinetoptouch-actiontransformtransitiontranslatetrigger-scopeunicode-bidiuser-selectvector-effectvertical-alignviewvisibilitywhitewidowswidthwill-changewordwriting-modexyz-indexzoom

מאפיין max-block-size

המאפיין max-block-size קובע את המידה המקסימלית של האלמנט על ציר ה-block — מקביל ל-max-height בכתיב אופקי או ל-max-width בכתיב אנכי, לפי writing-mode.
.panel { max-block-size: 400px; } .article { max-block-size: 80vh; }
פחות:0 יותר:9999 צעד:1 יחידות:% | px | em | rem | vw | vh noneאין מקסימום (ערך ברירת המחדל).min-contentהגודל המינימלי של התוכן על ציר ה-block.max-contentהגודל המקסימלי של התוכן על ציר ה-block.fit-contentמתכווץ לגודל התוכן על ציר ה-block, בתוך גבולות min-content ו-max-content. fit-content()fit-content(<length-percentage>) — מגביל את הגודל על ציר ה-block.calc()מחשב ערך מתוך ביטוי מתמטי. CSS Logical Properties and Values Level 1 Editor's Draft <length-percentage> W3CMDN
CSS Show all code ערוך CSS און-ליין התוסף שזוכר עבורך מאות פריטי CSS כל פרופרטי CSS — בהדגמה חיה מקור הייחוס הדו-לשוני ל-CSS
הגדרהדוגמאותתחבירמודולמפרטסוגי ערכיםמקורות מידעהדגמה חזותית