Which CSS3 code segment styles the text color of EM elements to be red and semi-transparent?

Which CSS3 code segment styles the text color of EM elements to be red and semi-transparent?
A. em { color: #ff00007f; }
B. em { color: rgba (255,0,0,0.5); }
C. em { color: rgba (255,0,0.127); }
D. em { color: rgba (100%,0%,0%, 50%); }

microsoft-exams

One thought on “Which CSS3 code segment styles the text color of EM elements to be red and semi-transparent?

  1. Correct answers are: A, B and D

    It even works with rgb() instead of rgba(). Try it all out with jsfiddler.

    3
    2

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.