☰
English
accent-color
align
alignment-baseline
all
anchor
animation
appearance
aspect-ratio
backdrop-filter
backface-visibility
background
baseline
block-size
border
bottom
box
break
caption-side
caret
clear
clip
color
column
columns
contain
container
content
corner
counter
cursor
cx
cy
d
direction
display
dominant-baseline
dynamic-range-limit
empty-cells
field-sizing
fill
filter
flex
float
flood
font
font-family
font-feature-settings
font-kerning
font-language-override
font-optical-sizing
font-palette
font-size
font-size-adjust
font-smooth
font-stretch
font-style
font-synthesis
font-synthesis-position
font-synthesis-small-caps
font-synthesis-style
font-synthesis-weight
font-variant
font-variant-alternates
font-variant-caps
font-variant-east-asian
font-variant-emoji
font-variant-ligatures
font-variant-numeric
font-variant-position
font-variation-settings
font-weight
forced-color-adjust
gap
grid
height
hyphenate
hyphens
image
ime-mode
initial-letter
inline-size
inset
interactivity
interest
interpolate-size
isolation
justify
left
letter-spacing
lighting-color
line
list
margin
marker
mask
math
max
min
mix-blend-mode
object
offset
opacity
order
orphans
outline
overflow
overlay
overscroll
padding
page
paint-order
perspective
place
pointer-events
position
print-color-adjust
quotes
r
reading
resize
right
rotate
row
ruby
rule
rx
ry
scale
scroll
scrollbar
shape
speak
stop
stroke
tab-size
table-layout
text
timeline
top
touch-action
transform
transition
translate
trigger-scope
unicode-bidi
user-select
vector-effect
vertical-align
view
visibility
white
widows
width
will-change
word
writing-mode
x
y
z-index
zoom
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>
W3C
MDN
CSS css aBcDeF
Show all code
ערוך CSS און-ליין
התוסף שזוכר עבורך מאות פריטי CSS
כל פרופרטי CSS — בהדגמה חיה
מקור הייחוס הדו-לשוני ל-CSS
הגדרה
דוגמאות
תחביר
מודול
מפרט
סוגי ערכים
מקורות מידע
הדגמה חזותית
previous
next