acdr-ui/dist/dev/mp-weixin/pages/index/components/banner.wxss

46 lines
873 B
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
.carousel-container.data-v-99a7ce9b {
position: relative;
width: 100vw;
height: 30vh;
background-color: #ff8261;
border-radius: 10px 10px 0 0;
}
.carousel.data-v-99a7ce9b {
width: 100%;
height: 100%;
}
.banner-content.data-v-99a7ce9b {
box-sizing: border-box;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 100%;
height: 100%;
}
.banner-image.data-v-99a7ce9b {
width: 100%;
-o-object-fit: cover;
object-fit: cover;
}
.custom-indicators.data-v-99a7ce9b {
position: absolute;
bottom: 20%;
left: 5%;
display: flex;
justify-content: center;
}
.indicator.data-v-99a7ce9b {
width: 10px;
height: 5px;
margin: 0 2px;
background-color: #cccccc;
border-radius: 5px;
transition: width 0.3s;
}
.indicator.active.data-v-99a7ce9b {
width: 18px;
background-color: #ffc107;
}