Chapter 12: CSS Background
A Complete Frontend Developer Textbook for Beginners (2023 Edition)
Published in
16 min readJan 12, 2022
This is the textbook version of Lesson 12 of 100 from the Udemy video course: A Complete Frontend Developer Course for Beginners
← Chapter 11: CSS Colors in RGB and HSL
Overview
This lesson covers the following HTML tags, CSS properties, and JavaScript commands for the first time:
HTML
None.
CSS
- background-image
- background-blend-mode
- background-size
- background-repeat
- background-origin
- background-position
- background-attachment
- box-sizing
JS
None.
This lesson begins with this Codepen. Code along with me to increase retention!
Lecture
In this lesson, we cover all the background properties which mostly relate to the background-image
. Finally, we combine them all into a nice shorthand!
HTML Window: