What does this code do?
Code:
@media only screen and (max-width: 500px) {
body {
background-color: lightblue;
}
}
Code:
@media only screen and (max-width: 500px) {
body {
background-color: lightblue;
}
}
A. If the browser window is smaller than 500px, the background color will change to lightblue:
B. If the browser window is larger than 500px, the background color will change to lightblue:
C. The background color will change to lightblue
D. Nothing happens
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