Update index.md (#21043)

Added comment at the beginning of the css code.
This commit is contained in:
Amoo Olusola Simeon
2018-10-22 19:49:42 +01:00
committed by Paul Gamble
parent cdc58a5512
commit 9242e9ee5f

View File

@ -6,6 +6,7 @@ title: Background Size
The background-size property specifies the size of the background images. You can set a length or a percentage, with the first value being the width and the second one being the height. You can also use one of the 5 keyword values:
```css
/* Background size property values that can be used */
.auto {background-size: auto;}
.cover {background-size: cover;}
.contain {background-size: contain;}