PrepAway - Latest Free Exam Questions & Answers

Which CSS3 code fragment uses a pseudo-element?

Which CSS3 code fragment uses a pseudo-element?

PrepAway - Latest Free Exam Questions & Answers

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:
http://www.html5code.nl/css3-tutorials/css3-tutorial-css3-selectors/

2 Comments on “Which CSS3 code fragment uses a pseudo-element?


Leave a Reply