0

how background size can be set to fit style?

6th Jul 2016, 12:15 PM
shubham jaroli
shubham jaroli - avatar
2 Réponses
+ 2
CSS3 introduced background-size. Example: div { background-size: 200px 200px; }
7th Jul 2016, 8:36 PM
ZinC
ZinC - avatar
+ 2
div { background-size:cover; } this will make it cover the container
13th Sep 2016, 4:09 PM
Miyaki Joshua
Miyaki Joshua - avatar