Descendant Selectors | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Descendant Selectors

When you are using descendant selectors, it is necessary to have both the id and class selectors in the paragraph , and then emphasize the selected text with the em?

26th May 2017, 11:04 AM
George Pichis
George Pichis - avatar
3 Answers
+ 2
AFAIK you can mix (aka combine) elements, id's and classes as selectors into a combination for reaching the descendants: https://www.w3schools.com/css/css_syntax.asp https://www.w3schools.com/css/css_combinators.asp
26th May 2017, 1:31 PM
Álvaro
+ 2
thanks Alvaro for answering
27th May 2017, 11:48 PM
George Pichis
George Pichis - avatar
0
*keyboard
10th Jul 2020, 5:07 PM
ᴀʀᴜᴩ ꜱᴀʀᴋᴇʀ 🕶️
ᴀʀᴜᴩ ꜱᴀʀᴋᴇʀ 🕶️ - avatar