Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

CSS Background Images and Responsive Image Properties for Beginners

Dave Gray via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner tutorial teaches CSS techniques for responsive foreground images and layered background images. It covers image sizing, layout-shift prevention, background colors, repeats, positioning, gradients, masks, multiple layers, and shorthand syntax.

Syllabus

Intro
Welcome
Starter Code
Prevent content layout shift
Style responsive images
Remove the default space under images
Profile picture example
Hero section
Fallback background-color
Setting a background-image
background-repeat
background image patterns
background-size
Image size considerations
Make text standout over a background
Create a background mask layer
background-position
linear-gradient backgrounds
Multiple background image layers
background-size
Filling text with a background image
background property shorthand

Taught by

Dave Gray

Reviews

Start your review of CSS Background Images and Responsive Image Properties for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.