Files
agroexpert/frontend/src/styles/components/banner.css

41 lines
645 B
CSS
Raw Normal View History

2024-03-01 17:47:03 +03:00
.banner--header {
height: 12rem;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
overflow: hidden;
}
.banner--header img {
min-height: 100%;
2024-03-12 09:16:19 +03:00
max-height: 100%;
}
.banner--header a {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
2024-03-01 17:47:03 +03:00
}
@media (max-width: 767px) {
.banner--header {
2024-04-17 12:15:16 +03:00
display: block;
max-width: 767px;
width: 100%;
/* height: 8rem;
position: relative; */
2024-03-12 09:16:19 +03:00
}
.banner--header img {
2024-04-17 12:15:16 +03:00
width: 100%;
height: auto;
/*position: absolute;
2024-03-12 09:16:19 +03:00
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
2024-04-17 12:15:16 +03:00
max-height: 100%;*/
2024-03-01 17:47:03 +03:00
}
}