Home » CSS » CSS Animations » Question
  1. What should be written in the blank of the code for resizing elements in Responsive Web Design with Transitions.
    Code:
    body { background-image: url(fog.jpg); background-size: cover;
    background-repeat: no-repeat; color: #fff; font-family: Avenir, Arial, sans-serif;
    }
    h1 { font-family: 'Calluna Sans', Arial, sans-serif; text-align: center;
    font-size: 10rem; margin: 8rem auto;
    }
    h1 { font-family: 'Calluna Sans', Arial, sans-serif;
    text-align: center; font-size: 10rem; margin: 8rem auto; transition: 1s font-size linear;
    }
    ______________ and (max-width: 1100px) {
    h1 { font-size: 8rem; }
    1. div
    2. transform
    3. @media
    4. @media screen
    5. None of these
Correct Option: D

@media screen



Your comments will be displayed only after manual approval.