This course will be retired on July 12, 2021. We recommend "CSS Basics" for up-to-date content.
Backgrounds: Color and Images5:47 with Guil Hernandez
Every HTML element has a background layer that is transparent by default. In this video, you'll learn basic background properties for applying colors and images.
Sets one or several background images for an element.
Sets the size of a background image.
Controls whether or not the image is tiled and how it gets tiled both vertically and horizontally. The value
repeat-y repeats the image vertically, while
repeat-x repeats the background image horizontally.
You need to sign up for Treehouse in order to download course files.Sign up