Saturday, July 25, 2009

First CSS Rule

* This video was basically just a recap of the ones before to give us a chance to write a few CSS rules.
* We used the selector 'h1', the property 'color' and the value 'red' to change the colour of all of the header 1 text entries to red, and we used the property 'font-size' and the value '3em' to adjust the size of the header 1 text as well.
* Similarly we used the selector 'p', the 'color' property and the 'blue' value to change the colour of the text inside the paragraph tag.
* We were also reminded to put a semi-colon at the end of each declaration block.

No comments:

Post a Comment