- What are the three ways of defining which color you want to use?
- color names, hexadecimal values, RGB values
- What is the numerical range for the colors when using RGB?
- 0-255
- Name the CSS property that is used to add a solid color behind any element on the page, including images.
- background-color
- What does the value transparent mean?
- It makes the background show what is behind it.
- What is the property for adding a GIF or JPEG behind an element?
- background-image: url (the location goes here)
- Which can you apply a color or image to the background of, an entire paragraph or a few select words?
- both work
- What will a value of none do?
- It will override any inherited value for background-image.
- What property would one use to prevent an image from tiling?
- background-repeat: no-repeat
- What value causes an image to repeat horizontally?
- background-repeat: repeat-x
- What value causes an image to repeat vertically?
- background-repeat: repeat-y
- What value causes an image to repeat both horizontally and vertically?
- background-repeat: repeat
- What is the property and the value that is used to stop a background image from scrolling and repeating as one scrolls down on the screen?
- background-attachment: fixed
- What is the other value that can be used instead of the above value?
- background-position
- What does background-position do?
- It positions where your background image should start displaying.
- What are the three ways to position a background?
- keyword values, percentage values, length values
- What are the 5 keyword values used with background-position?
- top, bottom, left, right, center
- What does the property "background" do?
- It defines the background color, image, tiling method, scrolling versus fixed status, and position.
.
Back
Next