Sizing Backgrounds Using Length Measurements
Explore how to size CSS background images using length and percentage measurements. Understand how the x-axis and y-axis values control scaling, and learn the valid syntax to avoid errors. This lesson sets the foundation for creating dynamic backgrounds in CSS before applying these concepts in a practical project.
We'll cover the following...
We'll cover the following...
Using length measurements, a vaild declaration looks like this:
When length measurements are used, the background image is scaled to the specified ...