Home / CSE MCQs / CSS MCQs :: Discussion

Discussion :: CSS MCQs

  1. What does this code do?


    Code:

     @media only screen and (max-width: 500px) {

        body {

            background-color: lightblue;

        }

    }

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

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    No answer description available for this question.


Be The First To Comment