CSS Properties CSS Property Groups: Fonts
CSS Properties CSS Property Groups: Fonts
CSS Properties CSS Property Groups: Fonts
Properties
CSS Property
Groups
Color
Table
Background and
Basic Box
Animation
Flexible Box
Transform
Text
Transition
Paged
Media
Generated
Filter
Effects
Image/Repl
aced
Masking
Text Decoration
Speech
Fonts
Multi-column
Marquee
Writing Modes
The "CSS"
column
indicates in
which CSS
version the
property is
defined
(CSS1, CSS2,
Color
Properties
Property
color
opacity
Background
and
Border
Property
background
Description
Sets the color of text
Sets the opacity level for an
element
CSS
Description
CSS
Sets all the background properties
in one declaration
backgroundSets whether a background image
attachment
is fixed or scrolls with the rest of
the page
background-color Sets the background color of an
element
backgroundSets the background image for an
image
element
backgroundSets the starting position of a
position
background image
backgroundSets how a background image will
repeat
be repeated
background-clip Specifies the painting area of the
background
background-origin Specifies the positioning area of
the background images
background-size Specifies the size of the
background images
border
Sets all the border properties in
one declaration
border-bottom
Sets all the bottom border
properties in one declaration
border-bottomSets the color of the bottom
1
color
border
border-bottomDefines the shape of the border of
left-radius
the bottom-left corner
border-bottomDefines the shape of the border of
right-radius
the bottom-right corner
1
3
1
1
1
1
1
1
3
3
3
1
1
3
3
border-bottomstyle
border-bottomwidth
border-color
border-image
border-imageoutset
border-imagerepeat
border-imageslice
border-imagesource
border-imagewidth
border-left
border-left-color
border-left-style
border-left-width
border-radius
border-right
border-right-color
border-right-style
border-rightwidth
border-style
border-top
border-top-color
border-top-leftradius
border-top-rightradius
border-top-style
border-top-width
border-width
boxdecorationbreak
box-shadow
Basic Box
Properties
Property
bottom
clear
clip
display
float
height
left
overflow
overflow-x
1
1
1
3
3
3
3
3
1
1
1
1
3
1
1
1
1
1
1
1
3
3
1
1
1
3
2
1
2
1
1
1
2
2
3
overflow-y
padding
padding-bottom
padding-left
padding-right
padding-top
position
right
top
visibility
width
vertical-align
z-index
Flexible Box
Layout
Property
align-content
align-items
align-self
display
flex
flex-basis
flex-direction
flex-flow
flex-grow
flex-shrink
flex-wrap
justify-content
margin
margin-bottom
margin-left
margin-right
margin-top
max-height
max-width
Description
CSS
Specifies the alignment between
the lines inside a flexible container
when the items do not use all
available space.
Specifies the alignment for items
inside a flexible container.
Specifies the alignment for
selected items inside a flexible
Specifies how a certain HTML
element should be displayed
Specifies the length of the item,
relative to the rest
Specifies the initial length of a
flexible item
Specifies the direction of the
flexible items
A shorthand property for the flexdirection and the flex-wrap
Specifies how much the item will
grow relative to the rest
Specifies how the item will shrink
relative to the rest
Specifies whether the flexible
items should wrap or not
Specifies the alignment between
the items inside a flexible
container when the items do not
use all available space.
Sets all the margin properties in
one declaration
Sets the bottom margin of an
element
Sets
the left margin of an element
Sets the right margin of an
element
Sets the top margin of an element
Sets the maximum height of an
element
Sets the maximum width of an
element
1
1
1
2
2
2
2
1
1
2
3
3
1
3
3
3
3
3
3
3
3
1
1
1
1
1
2
2
min-height
min-width
order
Text
Properties
Property
hangingpunctuation
hyphens
letter-spacing
line-break
line-height
Sets the line height
overflow-wrap
tab-size
Specifies the length of the tabcharacter
text-align
Specifies the horizontal alignment
of text
text-align-last
Describes how the last line of a
block or a line right before a
forced line break is aligned when
text-align is "justify"
text-indent
Specifies the indentation of the
first line in a text-block
text-justify
Specifies the justification method
used when text-align is "justify"
text-transform
Controls the capitalization of text
white-space
Specifies how white-space inside
an element is handled
word-break
Specifies line breaking rules for
non-CJK scripts
word-spacing
Increases or decreases the space
between words in a text
word-wrap
Allows long, unbreakable words to
be broken and wrap to the next
Text
Decoration
Property
Description
CSS
text-decoration
Specifies the decoration added to
text
text-decoration- Specifies
the color of the textcolor
decoration
text-decoration- Specifies the type of line in a textline
decoration
text-decoration- Specifies the style of the line in a
style
text decoration
text-shadow
Adds shadow to text
text-underlineposition
Font
Properties
Property
Description
CSS
font
Sets all the font properties in one
declaration
font-family
Specifies the font family for text
font-featuresetting
@font-featurevalues
font-kerning
font-languageoverride
font-synthesis
font-variantalternates
font-variantcaps
font-varianteast-asian
font-variantligatures
font-variantnumeric
font-variantposition
font-size
font-style
2
2
3
3
1
3
1
3
3
1
3
1
3
1
1
3
1
3
1
3
3
3
3
3
1
1
3
3
3
3
3
3
3
3
3
3
3
1
1
font-variant
font-weight
@font-face
font-size-adjust
font-stretch
Writing Modes
Properties
Property
Description
CSS
direction
Specifies the text direction/writing
direction
textorientation
text-combinehorizontal
unicode-bidi
Used together with the direction property
to set or return whether the text should be
overridden to support multiple languages
in the same document
writing-mode
Table
Properties
Property
border-collapse
border-spacing
caption-side
empty-cells
table-layout
Lists and
Counters
Property
counterincrement
counter-reset
list-style
list-style-image
list-style-position
list-style-type
Animation
Properties
Property
@keyframes
animation
animation-delay
animationdirection
animationduration
animation-fillmode
animationiteration-count
animation-name
1
1
3
3
3
2
3
3
2
3
Description
CSS
Specifies whether or not table
borders should be collapsed
Specifies the distance between the
borders of adjacent cells
Specifies the placement of a table
caption
Specifies whether or not to display
borders and background on empty
cells in a table
Sets the layout algorithm to be
used for a table
Description
CSS
Increments one or more counters
Creates or resets one or more
counters
Sets all the properties for a list in
one declaration
Specifies an image as the list-item
marker
Specifies if the list-item markers
should appear inside or outside
the content flow
Specifies the type of list-item
marker
Description
CSS
Specifies the animation
A shorthand property for all the
animation properties below,
except the animation-play-state
Specifies when the animation will
start
Specifies
whether or not the
animation should play in reverse
on alternate cycles
Specifies how many seconds or
milliseconds an animation takes to
complete one cycle
Specifies what values are applied
by the animation outside the time
it is executing
Specifies the number of times an
animation should be played
Specifies a name for the
@keyframes animation
2
2
2
2
2
2
1
1
1
3
3
3
3
3
3
animation-timingfunction
animation-playstate
Transform
Properties
Property
backface-visibility
Description
CSS
Defines whether or not an element
should be visible when not facing
the screen
perspective
Specifies the perspective on how
3D elements are viewed
perspective-origin Specifies the bottom position of
3D elements
transform
Applies a 2D or 3D transformation
to an element
transform-origin Allows you to change the position
on transformed elements
transform-style
Specifies how nested elements are
rendered in 3D space
Transitions
Properties
Property
Description
CSS
transition
A shorthand property for setting
the four transition properties
transitionSpecifies the name of the CSS
property
property the transition effect is for
transitionSpecifies how many seconds or
duration
milliseconds a transition effect
takes to complete
transition-timing- Specifies the speed curve of the
function
transition effect
transition-delay
Specifies when the transition
effect will start
Basic User
Interface
Property
Description
CSS
box-sizing
Allows you to define certain
elements to fit an area in a certain
content
Used with the :before and :after
pseudo-elements, to insert
generated content
cursor
Specifies the type of cursor to be
displayed
icon
Provides the author the ability to
style an element with an iconic
ime-mode
nav-down
Specifies where to navigate when
using the arrow-down navigation
nav-index
Specifies the tabbing order for an
element
nav-left
Specifies where to navigate when
using the arrow-left navigation
nav-right
Specifies where to navigate when
using the arrow-right navigation
nav-up
Specifies where to navigate when
using the arrow-up navigation key
outline
Sets all the outline properties in
one declaration
outline-color
Sets the color of an outline
outline-offset
Offsets an outline, and draws it
beyond the border edge
outline-style
Sets the style of an outline
outline-width
Sets the width of an outline
resize
Specifies whether or not an
element is resizable by the user
text-overflow
Specifies what should happen
when text overflows the
Multi-column
Layout
Property
Description
CSS
break-after
3
3
3
3
3
3
3
3
3
3
3
3
3
2
2
3
3
3
3
3
3
3
2
2
3
2
2
3
3
break-before
break-inside
column-count
3
3
3
3
3
3
3
3
3
3
3
3
2
CSS
2
2
2
2
CSS
3
2
CSS
3
CSS
3
3
3
3
3
CSS
3
3
CSS
3
3
3
phonemes
3
3
3
3
3
3
3
3
3
3
3
3
3