CSS Properties

 

List by:

Alphabetic Order By Function
PropertyDescription
backgroundCompiles all the other background properties
background-attachmentSpecifies if the image is to scroll or not
background-colorSpecifies the background colour for an element
background-imageSpecifies the image path, name and filetype to be used
background-positionSpecifies the positioning of the image
background-repeatDefines whether the image is to be repeated and how
borderCompiles all the other border properties
border-collapseSpecifies whether or not table borders should be collapsed
border-colorDefines a border colour
border-spacingSpecifies the distance between the borders of adjacent cells
border-styleDefines a border style (dotted, dashed, solid, double, groove, ridge, inset, outset, none or hidden)
bottomSets the bottom margin edge for a positioned box
bottom-borderDefines a bottom border
bottom-border-widthDefines the bottom border width for an element
bottom-paddingDefines the bottom padding for an element
bottom-marginDefines the bottom margin for an element
border-widthCompiles the border-width properties
caption-sideSpecifies the placement of a table caption
clearSpecifies which sides of an element where other floating elements are not allowed
colorSpecifies the colour for an element
displaySpecifies the type of box an element should generate
empty-cellsSpecifies whether or not to display borders and background on empty cells in a table
floatSpecifies whether or not a box should float
fontCompiles all the above properties
font-familySpecifies a prioritized list of fonts
font-size Specifies the size of text
font-styleSpecifies normal, italic or oblique text
font-variantSpecifies normal or small capitalisation
font-weightDefines how heavy a font should be (eg. normal, bold)
heightDefines the height of an element
letter-spacingDefines spacing between lettering
leftSets the left margin edge for a positioned box
left-borderDefines a left border
left-border-widthDefines the left border width for an element
left-marginDefines the left margin for an element
left-paddingDefines the left padding for an element
line-heightSets an element's line height
list-styleDefines and compiles all the above properties in one declaration
list-style-imageDefines an image as the list-item marker
list-style-positionDefines if the list-item markers should appear inside or outside the content flow
list-style-typeDefines the type of list-item marker
marginCompiles all the other margin properties
overflowSpecifies what happens if content overflows an element's box
paddingCompiles all the other padding properties
positionSpecifies the type of positioning for an element
rightSets the right margin edge for a positioned box
right-borderDefines a right border
right-border-widthDefines the right border width for an element
right-marginDefines the right margin for an element
right-paddingDefines the right padding for an element
table-layoutSets the layout algorithm to be used for a table
text-alignSpecifies the text justification (left, centre, right, justified)
text-decorationAdds an underline, overline, or line through
text-indentSpecifies a text-indent for first lines of paragraphs
text-transformControls capitilisation
topSets the top margin edge for a positioned box
top-borderDefines a top border
top-border-widthDefines the top border width for an element
top-marginDefines the top margin for an element
top-paddingDefines the top padding for an element
vertical-alignSpecifies vertical alignment for elements
visibilitySpecifies whether or not an element is visible
widthDefines the width of an element
word-spacingIncreases or decreases the space between words in a text
z-indexSets the stack order of an element
white-spaceSpecifies how white-space inside an element is handled
PropertyDescription
Font Properties 
font-familySpecifies a prioritized list of fonts
font-styleSpecifies normal, italic or oblique text
font-variantSpecifies normal or small capitalisation
font-weightDefines how heavy a font should be (eg. normal, bold)
font-size Specifies the size of text
fontCompiles all the above properties
Colour Properties 
colorSpecifies the colour for an element
background-colorSpecifies the background colour for an element
background-imageSpecifies the image path, name and filetype to be used
background-repeatDefines whether the image is to be repeated and how
background-attachmentSpecifies if the image is to scroll or not
background-positionSpecifies the positioning of the image
backgroundCompiles all the above properties
Text Properties 
word-spacingIncreases or decreases the space between words in a text
letter-spacingDefines spacing between lettering
text-decorationAdds an underline, overline, or line through
vertical-alignSpecifies vertical alignment for elements
text-transformControls capitilisation
text-alignSpecifies the text justification (left, centre, right, justified)
text-indentSpecifies a text-indent for first lines of paragraphs
line-heightSets an element's line height
List Properties 
list-style-typeDefines the type of list-item marker
list-style-imageDefines an image as the list-item marker
list-style-positionDefines if the list-item markers should appear inside or outside the content flow
list-styleDefines and compiles all the above properties in one declaration
Table Properties 
border-collapseSpecifies whether or not table borders should be collapsed
border-spacingSpecifies the distance between the borders of adjacent cells
caption-sideSpecifies the placement of a table caption
empty-cellsSpecifies whether or not to display borders and background on empty cells in a table
table-layoutSets the layout algorithm to be used for a table
Box Properties 
top-marginDefines the top margin for an element
right-marginDefines the right margin for an element
bottom-marginDefines the bottom margin for an element
left-marginDefines the left margin for an element
marginCompiles the above properties
top-paddingDefines the top padding for an element
right-paddingDefines the right padding for an element
bottom-paddingDefines the bottom padding for an element
left-paddingDefines the left padding for an element
paddingCompiles the above properties
top-border-widthDefines the top border width for an element
right-border-widthDefines the right border width for an element
bottom-border-widthDefines the bottom border width for an element
left-border-widthDefines the left border width for an element
border-widthCompiles the above properties
border-colorDefines a border colour
border-styleDefines a border style (dotted, dashed, solid, double, groove, ridge, inset, outset, none or hidden)
top-borderDefines a top border
right-borderDefines a right border
bottom-borderDefines a bottom border
left-borderDefines a left border
borderCompiles the above properties
widthDefines the width of an element
heightDefines the height of an element
Positioning Properties 
bottomSets the bottom margin edge for a positioned box
clearSpecifies which sides of an element where other floating elements are not allowed
floatSpecifies whether or not a box should float
leftSets the left margin edge for a positioned box
overflowSpecifies what happens if content overflows an element's box
positionSpecifies the type of positioning for an element
rightSets the right margin edge for a positioned box
topSets the top margin edge for a positioned box
visibilitySpecifies whether or not an element is visible
z-indexSets the stack order of an element
Classification Properties 
displaySpecifies the type of box an element should generate
white-spaceSpecifies how white-space inside an element is handled