The Background Shorthand Notation
In this lesson, we will learn the shorthand notation for background in CSS. Let's begin!
You have learned a number of background image related properties. With the background shorthand notation, you can combine multiple properties: background-image
, background-color
, background-position
, background-repeat
, background-size
, background-attachment
, background-origin
, and background-clip—into
a single declaration.
Let’s assume you have the following declaration:
Get hands-on with 1400+ tech skills courses.