From the course: Practical CSS for No-Coders
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Working with background images in CSS
From the course: Practical CSS for No-Coders
Working with background images in CSS
- [Instructor] Let's experiment with background images in our webpage. In CodePen, you may not add your own images to the site unless you have a paid account. I've given you an image to use for this exercise that won't require a paid account. Be sure to fork the starting CodePen as you have been doing. All starting CodePen addresses are in the exercise files. Before we start, let's take a look at the images that we're going to work with, and the way we can do that is here inside of our CSS, you'll see that I've given you two background images. I've actually given them to you as a comment. You can see that we have a property, in this case, background image, and we have a value, that value is a URL. And then in parentheses we have the actual URL. If you copy just that URL, copy, open up another tab, and then paste, you'll see what that image actually looks like. So the one that's called blue dots looks like this, looks…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Identify a color scheme4m 47s
-
(Locked)
Formatting color in CSS3m 36s
-
(Locked)
Background and text color in CSS5m 31s
-
(Locked)
Understanding images in CSS3m 45s
-
(Locked)
Working with background images in CSS7m 59s
-
(Locked)
Challenge: Style this web page2m 56s
-
(Locked)
Solution: Style this web page2m 8s
-
-
-
-