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

34 lines
513 B
CSS
Raw Normal View History

2024-03-01 17:47:03 +03:00
.banner--header {
2024-04-17 12:56:16 +03:00
display: block;
max-width: 1440px;
2024-03-01 17:47:03 +03:00
width: 100%;
2024-04-17 12:56:16 +03:00
margin: 0 auto;
2024-03-01 17:47:03 +03:00
overflow: hidden;
}
2024-03-12 09:16:19 +03:00
2024-04-17 12:56:16 +03:00
.banner--header IMG{
2024-03-12 09:16:19 +03:00
width: 100%;
2024-04-17 12:56:16 +03:00
height: auto;
}
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
}
}