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

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn CSS background images and responsive image properties in this comprehensive tutorial for beginners. Explore techniques to resize images based on browser size and create effective backgrounds that maintain text content focus. Discover how to prevent content layout shift, style responsive images, remove default image spacing, and create profile picture and hero section examples. Master background properties including repeat, size, position, and gradients. Dive into advanced techniques like creating background mask layers, using multiple image layers, and filling text with background images. Gain practical skills to enhance your web design capabilities and create visually appealing, responsive layouts.

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.