Basics of CSS you should know

In addition to the properties listed below, you should be familiar with the basic features of CSS. This includes

Color

Property Description Values
color Sets text color rgb color, color number, or named color
background-color Sets background color rgb color, color number, or named color

Text

Property Description Values
font-family Sets the font Font name, or generic font (serif, sans-serif, or monospace)
font-size Sets font size Pixels, percent, or em units
font-weight Sets bold or normal normal or bold
font-style Sets font style normal, italic, or oblique
line-height Sets height for a line of text Pixels, percent, or em units
text-align Sets text justification left, right, center, or justify

Layout

Property Description Values
width Sets the width for an element Pixels, percent, or em units
padding Sets distance between content and border Pixels, percent, or em units
border Sets border detail [type] [size] [color]
margin Sets spacing between border and neighboring elements (Pixels, percent, or em units) or (auto)
float Moves element out of normal flow left or right