Files
agroexpert/frontend/src/styles/components/banner.css
2024-04-17 12:56:16 +03:00

34 lines
513 B
CSS

.banner--header {
display: block;
max-width: 1440px;
width: 100%;
margin: 0 auto;
overflow: hidden;
}
.banner--header IMG{
width: 100%;
height: auto;
}
@media (max-width: 767px) {
.banner--header {
display: block;
max-width: 767px;
width: 100%;
/* height: 8rem;
position: relative; */
}
.banner--header img {
width: 100%;
height: auto;
/*position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
max-height: 100%;*/
}
}