Files
agroexpert/frontend/src/styles/components/banner.css
2024-03-12 09:16:19 +03:00

35 lines
540 B
CSS

.banner--header {
height: 12rem;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
overflow: hidden;
}
.banner--header img {
min-height: 100%;
max-height: 100%;
}
.banner--header a {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
}
@media (max-width: 767px) {
.banner--header {
height: 8rem;
position: relative;
}
.banner--header img {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
max-height: 100%;
}
}