Issue
How do I do it.
#foo, #ball, #tree h1 {color: #892828;}
Does not seem to work?
Solution
if you want to style all H1 under those Ids, you have to repeat H1 for every one as they don't share anything:
#foo h1, #ball h1, #tree h1 {color: #892828;}
what you wrote is equivalent to:
#foo {color: #892828;}
#ball {color: #892828;}
#tree h1 {color: #892828;}
Answered By - manji
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.