Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
how background size can be set to fit style?
2 ответов
+ 2
CSS3 introduced background-size.
Example:
div {
background-size: 200px 200px;
}
+ 2
div {
background-size:cover;
}
this will make it cover the container