
The image that you see on left side is my list of 3 pantone colors and their RGB equivalent that would be on my upcoming web page soon.
And the second part of my homework was to read Chapter 1 from Bulletproof Web Design then create the same stylesheet using Ems (page 22).

the CSS code:
body { font-size: 62.5% } /* gives us a base of 10 px */
h1 { font-size: 2em; } /* 20px */
h2 { font-size: 1.8em; } /* 18px */
p { font-size: 1.2em; } /* 12px */
p abbr { font-size: 2.4em; } /* 24px */
#sidebar { font-size: 1 em; } /* 10px */
No comments:
Post a Comment