Intermediate CSS3 and HTML5

  1. When you scroll down through a long page like this one in your browser, the page moves through a part of the browser window called what?




    B. The viewport
  2. If you put a background image on the page and don't specify how you want it to repeat (tile), which is the default repeat value that you get automatically?




    D. repeat
  3. Which of the following would you use to size and position a background image relative to the viewport?




    C. background-attachment: fixed;
  4. Which of the following would size a background image to completely fill the viewport without any empty space or clipping, even if it means distorting the image to match the shape of the browser window?




    C. background-size:100% 100%;
  5. Suppose you have a small background image and use background-repeat:no-repeat; to prevent repetition. You use background-attachment:fixed; and background-position:right; to attach and position the image, and you don't specify a background size. Where would the image appear?




    B. At the right side of the viewport, centered vertically.
Author
jdavis123
ID
354987
Card Set
Intermediate CSS3 and HTML5
Description
Lesson 2 - Advanced Backgrounds
Updated