CSS Animations
- Which of the following code set the webpage correctly displayed on a device?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- What does this code do?
_@media only screen and (max-width_ 500px) { body { background-color_ lightblue
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
If the browser window is smaller than 500px, the background color will change to lightblue:
- What does this code do?
@media only screen and (orientation_ landscape) { body { background-color_ lightblue
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
web page will have a lighblue background if the orientation is in landscape mode
- Which of the following css propery defines a relationship between bound elements(s) and some code or content?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Syntax: binding: none | url(bindingfile)
- What does this code do?
Code:
@media only screen and (max-width: 768px) {
class*="col-"] {
width: 100%;
}
}
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
When the screen gets smaller than 768px, each column should have a width of 100%.