Match the pseudo class with the elements it targets a alink 1 Links that have

Match the pseudo class with the elements it targets a

This preview shows page 13 - 17 out of 20 pages.

3. Match the pseudo-class with the elements it targets. a. a:link 1. Links that have already been clicked b. a:visited 2. An element that is highlighted and ready for input c. a:hover 3. An element that is the first child element of its parent d. a:active 4. A link with the mouse pointer over it e. :focus 5. Links that have not yet been visited f. :first-child 6. A link that is in the process of being clicked Ans. a. –5; b. –1; c. –4; d. –6; e. –2; f. –3 Chapter.15 3. How do you make sure a “footer” divstarts below a floated sidebar?
Image of page 13
Ans. Clear the footer divto make it start below a floated sidebar: div#footer { clear: both; } Chapter.16 1. Match each layout type with the factor that determines the final size of the page area. Fixed-width layouts a. The browser window Fluid layouts b. Font size Elastic layouts c. The designer Ans. 1. Fixed, c.; Fluid, a.; Elastic, b. 2. Match each layout type with the unit of measurement used to create it. Fixed-width layouts a. Ems Fluid layouts b. Pixels Elastic layouts c. Percentages and/or auto Ans. 2. Fixed, b.; Fluid, c.; Elastic, a 3. Match each layout type with its primary potential advantage. Fixed-width layouts a. Predictable line lengths Fluid layouts b. No awkward “leftover” space Elastic layouts c. Pixel-perfect layout grid Ans. 3. Fixed, c.; Fluid, b.; Elastic, a. 4. Match each layout type with its potential disadvantage.
Image of page 14
Fixed-width layouts a. Uncomfortably long line lengths Fluid layouts b. Images don’t scale with the page Elastic layouts c. Right side of the page gets cut off on narrow browser windows Ans. 3. Fixed, c.; Fluid, b.; Elastic, a. Chapter.17 1. What is “tweening”? 2. If a transition had key frames, how many would it have? 4. Which of the following can you not animate? 5. Which timing function will be used if you omit the transition-timing function
Image of page 15
property? Describe its action. 6. In the following transition, what does .2s describe?transition: color .2s linear; 7. Which transition will finish first?
Image of page 16
Image of page 17

You've reached the end of your free preview.

Want to read all 20 pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture