Tuesday, February 11, 2014

MWD 2/4/14-2/6/14

MWD2
2/4/14
Cascading Style Sheets (CSS)
            -Expands on HTML
                        -design
                                    -more flexible
                                    -more consistent
                                                -“top-down”
Overview -> wireframe -> site ->styles.
CSS rules
1.      Selector ex: <p> or p , true ex: {property: value;}
P {color:#3399bb} [hex value (RGB)]
Inline
            -style is applied as an attribute.
Embedded Style
            -defined in our head element.
External
            -defined in a .css file
External style gets applied first
-Embedded gets applied next or second
  -Inline style comes next or third
            -html comes last
Selectors
-Elements
-Classes
                        .[name] ex: .bigp
-IDs
            #[name]
            #content

Thursday February 6, 2014   MWD2
Classes                                    ID
                        Descendent selector
Bad colors

ASSIGNMENT #2
Add color to Imaginary Kids Website.
Step 1:
            Use own colors
Step 2:

            Submit via blackboard

No comments:

Post a Comment