PrepAway - Latest Free Exam Questions & Answers

Which CSS3 code fragment uses a pseudo-element?

Which CSS3 code fragment uses a pseudo-element?

A. p: : first-letter {font-weight: bold;}

B. div

>

p {font-weight: bold;}

C. p. first-letter {font-weight: bold;}

D. div+p {font-weight: bold;}

Explanation:

References:

http://www.html5code.nl/css3-tutorials/css3-tutorial-css3-selectors/


Leave a Reply