Here is something in a wordpress stylesheet that I don’t understand:
blockquote cite,
blockquote em,
blockquote i {
font-style: normal;
}
what does the space between blockquote and cite do? I understand if they are separated by a comma, then both blockquote and cite will have “font-style: normal;” now they are separated by space, does this mean if a blockquote tag is embedded into a cite tag it will get “font-style: normal;”?
Thank you.
The space is known as the descendant combinator.
blockquote citeselects anyciteelement within ablockquoteelement. Likewise forblockquote emandblockquote i.In other words, it’s not “if a blockquote tag is embedded into a cite tag”, it’s the other way around (besides, you can’t place
blockquotes incites in the first place).As you note, commas group selector sequences into the same rule.