Week 4:
Background Images
Sizing Background Images
Auto
Cover
Contain
25%
background-size: auto;
background-size: cover;
background-size: contain;
background-size: 25%;
Multiple Images
width: 100%;
height: 300px;
background-repeat: no-repeat;
background-image: url('usc.png'), url('echopark.jpg');
background-size: 250px, cover;
background-position: center, center;
Resources
W3C: background
W3C: background-image
W3C: background-position
W3C: background-repeat
W3C: background-size
W3C: background-origin
W3C: background-clip