Home / CSE MCQs / CSS MCQs :: Discussion

Discussion :: CSS MCQs

  1. What does this code do?


    Code:

    @media only screen and (orientation: landscape) {

        body {

            background-color: lightblue;

        }

    }

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

    View Answer

    Workspace

    Answer : Option A

    Explanation :



Be The First To Comment