Awesome Car Slider Using HTML CSS And JavaScript
How To Make An Awesome Car Slider Using HTML CSS And JavaScript
If you want to learn how to create an Awesome Car Carousel Slider Using HTML CSS And JavaScript, then you are in the right place.
I will teach about how to make an Car Carousel Slider Using HTML CSS And JavaScript. This Carousel is fully Responsive and has all browser compatibility.
I used HTML, CSS, and JavaScript to create this Car Carousel. If you follow this tutorial step by step, you will be able to make this Awesome Car Carousel Slider using HTML, CSS, and JavaScript.
I have more than Four years experience in Frontend(HTML, CSS, and JS). I promise you, I will try to provide you best way to create Carousel Slider using HTML, CSS, and JavaScript.
Create A Car Carousel Slider Using HTM, CSS, and JavaScript
Car Slider's
*{ margin: 0px; padding: 0px; font-family: poppins; box-sizing: border-box; } a{ text-decoration: none; } body{ background-color: #1e1e20; } /*======================================*/ .mySwiper{ width: 90%; margin: 10px auto; } .slider-box{ width: 100%; padding: 20px; border: 1px solid #3f3f3f; display: flex; grid-gap: 10px; user-select: none; flex-direction: column; } .slider-text{ margin-bottom: 30px; } .swiper-slide:nth-of-type(odd) .slider-box{ flex-direction: column-reverse; } .swiper-slide:nth-of-type(odd) .slider-box .slider-text{ margin-top: 30px; margin-bottom: 0px; } .slider-img{ width: 100%; height: 600px; filter: grayscale(0.8); opacity: 0.8; transition: all ease 0.3s; } .slider-img img{ width: 100%; height: 100%; object-fit: cover; object-position: center; } .slider-text strong{ color: #ffffff; font-size: 1.2rem; font-weight: 600; letter-spacing: 4px; } .slider-box:hover .slider-img{ opacity: 1; filter: grayscale(0); } .swiper-pagination{ position: static !important; margin-top: 10px; } .swiper-pagination-bullet-active{ background-color: #ffffff !important; } @media(max-width:600px){ .slider-img{ height: 500px; } }
Comments