CSS Anatomy


CSS DECLERATION ANATOMY:

element { property : value; }
 (h2,p,body,etc.)                         (font-size, color, etc.)            ( ex.font-size: 100%; )

The element can also            The property is basically     The value states what
be an ID or class                      traits we would like to           this trait will be given
name as a selector.               change or alter for our         or in other words it's
ex.) #intro, .intro                    element.                                       personality.

 

cssanatomy

Task Discussion