Menu
Specifies the size of a background image.
/*
background-size: 75% 50%;
*/
auto
The background image will be displayed in its original size.
percentage
The background image will be a percentage of its width and height, as specified.
contain
The background image will be resized to make it fully visible.
Have a code example of background-size
? Submit a codepen.io demo and we'll showcase it here ↴