Which CSS3 code fragment uses a pseudo-element?

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



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Michał

Michał

C is correct.