diff --git a/Responsive Owl-carousel Slider b/Responsive Owl-carousel Slider new file mode 100644 index 00000000..87a91008 --- /dev/null +++ b/Responsive Owl-carousel Slider @@ -0,0 +1,123 @@ + + + + + + + + + + + + + +
+ +
+ + + + + + + +---------------------------------------- + +style.css + +@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap'); +*{ + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: 'Poppins', sans-serif; +} +body{ + min-height: 100vh; + display: flex; + align-items: center; +} +.wrapper{ + width: 100%; +} +.carousel{ + max-width: 1200px; + margin: auto; + padding: 0 30px; +} +.carousel .card{ + color: #fff; + text-align: center; + margin: 20px 0; + line-height: 250px; + font-size: 90px; + font-weight: 600; + border-radius: 10px; + box-shadow: 0px 4px 15px rgba(0,0,0,0.2); +} +.carousel .card-1{ + background: #ed1c24; +} +.carousel .card-2{ + background: #0072bc; +} +.carousel .card-3{ + background: #39b54a; +} +.carousel .card-4{ + background: #f26522; +} +.carousel .card-5{ + background: #630460; +} +.owl-dots{ + text-align: center; + margin-top: 40px; +} +.owl-dot{ + height: 15px; + width: 45px; + margin: 0 5px; + outline: none; + border-radius: 14px; + border: 2px solid #0072bc!important; + box-shadow: 0px 4px 15px rgba(0,0,0,0.2); + transition: all 0.3s ease; +} +.owl-dot.active, +.owl-dot:hover{ + background: #0072bc!important; +}