What does this code do?
Code:
@media only screen and (orientation: landscape) {
body {
background-color: lightblue;
}
}
Code:
@media only screen and (orientation: landscape) {
body {
background-color: lightblue;
}
}
A. web page will have a lighblue background if the orientation is in landscape mode
B. web page will have a lighblue background if the orientation is not in landscape mode
C. web page will have a red background if the orientation is in landscape mode
D. None of the mentioned
Answer: Option A
Related Questions on CSS3 Transitions And CSS 3 Animations
A. Scaled Vector Graph
B. Scalable Vector Graphics
C. Scaled Vector Graphics
D. None of the mentioned
Which of the following defines the color of a line, text or outline of an element?
A. text
B. stroke
C. line
D. all of the mentioned
Join The Discussion