HTML and CSS Reference
In-Depth Information
Flexible Box Properties
Table D-11 Flexible Box Properties
new
Property Name
Description
Values
box-align
Specifies how to align the child elements of a box
start
end
center
baseline
stretch
box-direction
Specifies in which direction the children of a box are
displayed
normal
reverse
inherit
box-lex
Specifies whether the children of a box is flexible or
inflexible in size
[value]
box-flex-group
Assigns flexible elements to flex groups
[integer]
box-lines
Specifies whether columns will go onto a new line
whenever it runs out of space in the parent box
single
multiple
box-ordinal-group
Specifies the display order of the child elements of a box
[integer]
box-orient
Specifies whether the children of a box should be laid out
horizontally or vertically
horizontal
vertical
inline-axis
block-axis
inherit
box-pack
Specifies the horizontal position in horizontal boxes and the
vertical position in vertical boxes
start
end
center
justify
Font Properties
Table D-12 Font Properties
Property Name
Description
Values
font
Shorthand property for setting font properties
@font-face
A rule that allows Web sites to download and use fonts other
than the “Web-safe” fonts
new
font-family
A prioritized list of font-family names and/or generic family
names for an element
[family-name]
cursive
fantasy
monospace
sans-serif
serif
font-size
Sets the size of a font
[length]
[percentage]
large
larger
medium
small
smaller
x-large
x-small
xx-large
xx-small
inherit
 
Search WWH ::




Custom Search