swipe_slider/style.css
2024-12-30 12:12:18 +05:30

77 lines
1.4 KiB
CSS

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.slider {
width: 100%;
overflow: hidden;
background: rgba(255, 255, 255, 0.599);
padding: 20px 0;
display: flex;
justify-content: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 100%;
height: auto;
object-fit: contain;
align-items: center;
max-width: 240px;
cursor: pointer;
}
.swiper-slide1 {
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
text-align: center;
width: 100%;
padding: 20px;
background: white;
margin-left: -30px;
transition: transform 0.3s, opacity 0.3s;
opacity: 0.5;
transform: scale(0.9);
}
.swiper-slide {
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
text-align: center;
width: 100%;
padding: 20px;
background: white;
margin-left: -30px;
}
.services-container{
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.description{
width: 40%;
padding-right: 10px;
}
.image-slider{
width: 50%;
}
@media(max-width: 768px){
.services-container{
flex-direction: column;
}
.description,.image-slider{
width: 100%;
}
}