interpreting this CSS code
-
Hi –
I’m having some trouble understanding the following CSS code (lifted from my theme’s style.css file):
h1, h2, h3 { font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; font-weight: bold; } h1 { font-size: 4.5em; text-align: center; } #header .description { font-size: 1.5em; text-align: center; color: #B8C5C7; } #header h1 { font-size:30pt; text-align:center; padding-top:0; }
It’s this last bit I’m struggling with. Does the syntax mean that the information within the braces applies to code that is in a division called “header” and is of type h1?
More questions will almost certainly follow from this, so if this isn’t the right place to ask such questions, please let me know
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘interpreting this CSS code’ is closed to new replies.