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

YouTube

Background Images with HTML & CSS

Kevin Powell via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to effectively use background images in HTML and CSS in this 20-minute video tutorial. Discover common pitfalls and their solutions, including proper image placement, external CSS file usage, and linking techniques. Explore essential concepts like fallback background colors, avoiding fixed heights, troubleshooting image display issues, and controlling background repetition. Master techniques for handling oversized images and ensuring proper image fit. Conclude with a bonus tip on improving text readability over background images. Enhance your web design skills and create visually appealing layouts with expert guidance on background image implementation.

Syllabus

- Introduction
- Don't have the images in your HTML
- Use an external CSS file
- Linking a background image in an external CSS file
- Fallback background-color
- Don't use heights
- When the image doesn't show up
- background-repeat
- When an image is too big
- Making an image fit
- BONUS - making the text readable

Taught by

Kevin Powell

Reviews

Start your review of Background Images with HTML & CSS

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.