Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
how background size can be set to fit style?
2 Réponses
+ 2
CSS3 introduced background-size.
Example:
div {
background-size: 200px 200px;
}
+ 2
div {
background-size:cover;
}
this will make it cover the container