¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
how background size can be set to fit style?
2 Respuestas
+ 2
CSS3 introduced background-size.
Example:
div {
background-size: 200px 200px;
}
+ 2
div {
background-size:cover;
}
this will make it cover the container