+ 3

In the example, if I go: #intro em{...} do I get the same outcome of #intro .first em{...}?

4th Oct 2016, 12:24 AM
Evandro Takeshi
Evandro Takeshi - avatar
3 Respostas
+ 7
Not really. If you want to set styles for all "em" tags in the #intro, use: #intro em {...} and if you want to set styles just for first "em" in the #intro, use this: #intro em:first-child {...}
8th Oct 2016, 8:05 AM
Jakub ADAMEC
Jakub ADAMEC - avatar
+ 2
You're welcome. :)
12th Nov 2016, 8:54 AM
Jakub ADAMEC
Jakub ADAMEC - avatar
+ 1
Thankss
11th Nov 2016, 4:25 PM
Evandro Takeshi
Evandro Takeshi - avatar