Earth Skater Online Store Hosting
 

1 (877) 627-2492 Contact Us 

 
       
 
 

CSS Properties Table

 

Text Properties
Property What it Does Possible Values
letter-spacing Controls the amount of space between each letter in a section of text. normal (default)
number of pixels
line-height Controls the amount of vertical space between lines of text normal (default)
number of pixels
percentage
text-align Controls the alignment for a section of text browser decides (default)
left
right
center
text-decoration Controls what the text looks like none (default)
underline
overline
line-through
blink
text-indent Controls the indentation of the first line in a section of text 0 (default)
number of pixels
percentage
text-transform Changes the case of a section of text none (default)
uppercase
lowercase
capitalize
vertical-alignment Controls the vertical alignment of a section of text baseline (default)
sub
super
top
text-top
middle
bottom
text-bottom
word-spacing Controls the amount of space between words (doesn't work as of yet) normal (default)
number of pixels

Font Properties
Property What it Does Possible Values
font-family Controls the type of font shown on the page browser decides (default)
font family name
font-size Controls the size of the font medium (default)
number of pixels
percentage
font-style Controls the style of the font normal (default)
italic
oblique
font-size Controls the size of the font medium (default)
number of pixels
percentage
font-variant Controls the variant of the font normal (default)
small-caps
font-weight Controls the boldness of the font normal (default)
lighter
bold
bolder
100
200
300
400
500
600
700
800
900

Color/Background Properties
Property What it Does Possible Values
color Controls the color of the text browser decides (default)
color name
background-attachment Controls the scrolling of the background scroll (default)
fixed
background-color Controls the color of the background transparent (default)
color name
background-image Allows you to set a background image none (default)
image url
background-repeat Allows different patterns of background repetition repeat (default)
repeat-x
repeat-y
no-repeat
background-position Controls the position of the background on the page 0% 0% (default)
postion in pixels ie {20,20}
percentage ie {5%,7%}
top
bottom
left
right
center

Box Properties
Property What it Does Possible Values
width Controls the width of a section auto (default)
number of pixels
percentage
height Controls the height of a section auto (default)
number of pixels
percentage
border-color Controls the border color of a section default text color (default)
color name
border-style Controls the style of a border none (default)
solid
double
border-width Controls the width of a border undefined (default)
number of pixels
thin
medium
thick
border-top-width Controls the width of a border side medium (default)
number of pixels
thin
thick
border-left-width Controls the width of a border side medium (default)
number of pixels
thin
thick
border-right-width Controls the width of a border side medium (default)
number of pixels
thin
thick
border-bottom-width Controls the width of a border side medium (default)
number of pixels
thin
thick
margin-top Controls the width of a margin from the specified side 0 (default)
number of pixels
percentage
margin-left Controls the width of a margin from the specified side 0 (default)
number of pixels
percentage
margin-right Controls the width of a margin from the specified side 0 (default)
number of pixels
percentage
margin-bottom Controls the width of a margin from the specified side 0 (default)
number of pixels
percentage
padding-top Controls the amount of padding from the specified side 0 (default)
number of pixels
percentage
padding-left Controls the amount of padding from the specified side 0 (default)
number of pixels
percentage
padding-right Controls the amount of padding from the specified side 0 (default)
number of pixels
percentage
padding-bottom Controls the amount of padding from the specified side 0 (default)
number of pixels
percentage
float Controls the floating of a section none (default)
left
right
clear Defines whether a section disallows other sections on its sides none (default)
left
right

Classification Properties
Property What it Does Possible Values
white-space Controls the white space formatting of a section normal (default)
pre
nowrap
display Controls the display of a section block (default)
inline
list-item
none
visibility Controls the visibility of an element inherit (default)
visible
hidden
z-index Controls the layering of an element auto (default)
number

Adapted from The Web Design Resource


 


Bookmark this on Delicious

 
 

2018

Earth

Skater