A step-by-step CSS lesson on styling background images, including how to make an image span its container and sit in a fixed position. It suits people learning CSS for the first time.
What you’ll learn
✓Set a background image on an element with CSS
✓Make a background image span its container
✓Fix a background image in position as the page scrolls