Presentation is loading. Please wait.

Presentation is loading. Please wait.

A CSS file consists of rule sets. H1 { color: navy; } selector property value Within the brackets are one or more rules /*This rule adjust the styles.

Similar presentations


Presentation on theme: "A CSS file consists of rule sets. H1 { color: navy; } selector property value Within the brackets are one or more rules /*This rule adjust the styles."— Presentation transcript:

1

2 A CSS file consists of rule sets. H1 { color: navy; } selector property value Within the brackets are one or more rules /*This rule adjust the styles for the headings */ A simple CSS document with comments

3

4

5

6 Useful if you want a web page to specifically be formatted for printing as a document. BBC News

7

8

9 Slide 9

10 To specify an absolute measurement, you can use pixels or points. To specify a relative measurement, you can use ems or percents.

11 Slide 11

12 Slide 12

13 Slide 13

14 Slide 14 With an RGB (red-green-blue) value H1 {color: rgb (100%, 40%, 20%); }

15 Slide 15 http://www.w3.org/TR/css3-color http://www.colorpicker.com/

16 Slide 16

17 Slide 17

18 Slide 18


Download ppt "A CSS file consists of rule sets. H1 { color: navy; } selector property value Within the brackets are one or more rules /*This rule adjust the styles."

Similar presentations


Ads by Google