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%); }
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%); }
Correct answers are: A, B and D
It even works with rgb() instead of rgba(). Try it all out with jsfiddler.