CSS Animations


  1. Which of the following code set the webpage correctly displayed on a device?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    <meta name="viewport" content="width=device-width, initial-scale=1.0">


  1. What does this code do?
    _@media only screen and (max-width_ 500px) {    body {        background-color_ lightblue











  1. 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:



  1. What does this code do?
    @media only screen and (orientation_ landscape) {    body {        background-color_ lightblue











  1. 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


  1. Which of the following css propery defines a relationship between bound elements(s) and some code or content?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Syntax: binding: none | url(bindingfile)



  1. What does this code do?
    Code:
    @media only screen and (max-width: 768px) {
    class*="col-"] {
    width: 100%;
    }
    }











  1. 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%.