ok
Direktori : /home/importfo/public_html/apexorthopedicandeyehospital.com/ |
Current File : /home/importfo/public_html/apexorthopedicandeyehospital.com/slider.php |
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@splidejs/splide@latest/dist/css/splide.min.css"> <script src="https://cdn.jsdelivr.net/npm/@splidejs/splide@2.4.6/dist/js/splide.min.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <section class="user-blog"> <div class="container"> <div class="heading"> Our Blog </div> <div id="demo1"> <div class="span12"> <div id="owl-demo1" class="owl-carousel"> <div class="item"> <div class="blog-grid"> <div class="img-date"> <img src="https://i.ibb.co/HrtN39y/services1.jpg"> <div class="date-blog">May <br/> 20, </div> </div> <div class="discretion-blog"> <h4>Lorem ipsum dolor sitzen amet</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium, </p> <a class="btn" href="#">Read more</a> </div> </div> </div> <div class="item"> <div class="blog-grid"> <div class="img-date"> <img src="https://i.ibb.co/HrtN39y/services1.jpg"> <div class="date-blog">May <br/> 20, </div> </div> <div class="discretion-blog"> <h4>Lorem ipsum dolor sitzen amet</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium, </p> <a class="btn" href="#">Read more</a> </div> </div> </div> <div class="item"> <div class="blog-grid"> <div class="img-date"> <img src="https://i.ibb.co/HrtN39y/services1.jpg"> <div class="date-blog">May <br/> 20, </div> </div> <div class="discretion-blog"> <h4>Lorem ipsum dolor sitzen amet</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium, </p> <a class="btn" href="#">Read more</a> </div> </div> </div> <div class="item"> <div class="blog-grid"> <div class="img-date"> <img src="https://i.ibb.co/HrtN39y/services1.jpg"> <div class="date-blog">May <br/> 20, </div> </div> <div class="discretion-blog"> <h4>Lorem ipsum dolor sitzen amet</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium, </p> <a class="btn" href="#">Read more</a> </div> </div> </div> <div class="item"> <div class="blog-grid"> <div class="img-date"> <img src="https://i.ibb.co/HrtN39y/services1.jpg"> <div class="date-blog">May <br/> 20, </div> </div> <div class="discretion-blog"> <h4>Lorem ipsum dolor sitzen amet</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium, </p> <a class="btn" href="#">Read more</a> </div> </div> </div> <div class="item"> <div class="blog-grid"> <div class="img-date"> <img src="https://i.ibb.co/HrtN39y/services1.jpg"> <div class="date-blog">May <br/> 20, </div> </div> <div class="discretion-blog"> <h4>Lorem ipsum dolor sitzen amet</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium, </p> <a class="btn" href="#">Read more</a> </div> </div> </div> <div class="item"> <div class="blog-grid"> <div class="img-date"> <img src="https://i.ibb.co/HrtN39y/services1.jpg"> <div class="date-blog">May <br/> 20, </div> </div> <div class="discretion-blog"> <h4>Lorem ipsum dolor sitzen amet</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium, </p> <a class="btn" href="#">Read more</a> </div> </div> </div> </div> <div class="customNavigation"> <a class="btn prev"><img src="https://i.ibb.co/sJJYzrQ/arrow-left-round.png"></a> <a class="btn next"><img src="https://i.ibb.co/c8Gp9cy/arrow-right-round.png"></a> </div> </div> </div> </div> </div> </section> <style> .heading { text-align: center; color: #454343; font-size: 30px; font-weight: 700; position: relative; margin-bottom: 70px; text-transform: uppercase; z-index: 999; } .white-heading{ color: #ffffff; } .heading:after { content: ' '; position: absolute; top: 100%; left: 50%; height: 40px; width: 180px; border-radius: 4px; transform: translateX(-50%); background: url(https://i.ibb.co/G32GT0L/heading-line.png); background-repeat: no-repeat; background-position: center; } .white-heading:after { background: url(img/heading-line-white.png); background-repeat: no-repeat; background-position: center; } .heading span { font-size: 18px; display: block; font-weight: 500; } .white-heading span { color: #ffffff; } /* clearfix */ .owl-carousel .owl-wrapper:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } /* display none until init */ .owl-carousel{ display: none; position: relative; width: 100%; -ms-touch-action: pan-y; } .owl-carousel .owl-wrapper{ display: none; position: relative; -webkit-transform: translate3d(0px, 0px, 0px); } .owl-carousel .owl-wrapper-outer{ overflow: hidden; position: relative; width: 100%; } .owl-carousel .owl-wrapper-outer.autoHeight{ -webkit-transition: height 500ms ease-in-out; -moz-transition: height 500ms ease-in-out; -ms-transition: height 500ms ease-in-out; -o-transition: height 500ms ease-in-out; transition: height 500ms ease-in-out; } .owl-carousel .owl-item img{ max-width: 100%; } .owl-carousel .item { padding: 0 7.5px; } .owl-carousel .owl-item{ float: left; } .owl-controls .owl-page, .owl-controls .owl-buttons div{ cursor: pointer; } .owl-controls { -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } /* mouse grab icon */ .grabbing { cursor:url(grabbing.png) 8 8, move; } /* fix */ .owl-carousel .owl-wrapper, .owl-carousel .owl-item{ -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden; -webkit-transform: translate3d(0,0,0); -moz-transform: translate3d(0,0,0); -ms-transform: translate3d(0,0,0); } #demo1 .customNavigation, #demo2 .customNavigation { top: 50%; position: absolute; width: 100%; left: 0px; margin-top: -40px; } #demo1 .customNavigation .btn, #demo2 .customNavigation .btn { padding: 0px; } #demo1 .customNavigation .btn.prev, #demo2 .customNavigation .btn.prev { position: relative; left:-76px; } #demo1 .customNavigation .btn.next, #demo2 .customNavigation .btn.next { position: relative; right: -70px; float: right; } div#demo1 { position: relative; } .user-blog { background: #faf2e8; padding: 50px 0 50px; } .user-blog:before { position: absolute; top: -100px; left: 0; content: " "; background: url(img/user-blog.png); background-size: 100% 100px; width: 100%; height: 100px; float: left; z-index: 99; } div#owl-demo1 .item { padding: 0 15px; } .blog-grid { background: #fff; box-shadow: 0px 0px 20px #c3c3c3; margin: 10px 0; border: 1px solid #d6d6d6; border-radius: 1px; } .discretion-blog { padding: 15px; } .discretion-blog p { font-size: 15px; color: #454343; } .discretion-blog h4 { color: #454343; font-size: 16px; font-weight: 700; text-transform: uppercase; } .discretion-blog .btn { color: #fefeff; background: #454343; width: 100%; text-transform: uppercase; border-radius: 0px; margin-top: 10px; -webkit-transform: perspective(1px) translateZ(0); -moz-transform: perspective(1px) translateZ(0); -o-transform: perspective(1px) translateZ(0); transform: perspective(122px) translateZ(0); } .discretion-blog .btn:hover { color: #ffffff; } .discretion-blog .btn:before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; background: #79b82d; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: 0 50%; transform-origin: 0 50%; -webkit-transition-property: transform; transition-property: transform; -webkit-transition-duration: 0.3s; transition-duration: 0.3s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; border: 2px solid #79b82d; } .discretion-blog .btn:hover:before { -webkit-transform: scaleX(1); -moz-transform: scaleX(1); -o-transform: scaleX(1); transform: scaleX(1); } .date-blog { background: #82b53f; width: 70px; position: absolute; bottom: 0; left: 15px; color: #fff; text-align: center; padding: 10px 0px; } .date-blog:after { width: 0; height: 0; content: ""; border-left: 0 solid transparent; border-right: 70px solid transparent; border-bottom: 12px solid #82b53f; top: -11px; position: absolute; left: 0; } .img-date { position: relative; } .user-blog .owl-theme .owl-controls .owl-page span { width: 17px; height: 17px; background: #454343; opacity: 1; } .user-blog .owl-theme .owl-controls .owl-page.active span, .user-blog .owl-theme .owl-controls.clickable .owl-page:hover span { background: #82b53f; } </style> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.js"></script> <script> $(document).ready(function() { var owl = $("#owl-demo1"); owl.owlCarousel({ items: 3, //10 items above 1000px browser width itemsDesktop: [1000, 3], //5 items between 1000px and 901px itemsDesktopSmall: [900, 2], // 3 items betweem 900px and 601px itemsTablet: [600, 1], //2 items between 600 and 0; itemsMobile: [360, 1] // itemsMobile disabled - inherit from itemsTablet option }); // Custom Navigation Events $(".next").click(function() { owl.trigger('owl.next'); }) $(".prev").click(function() { owl.trigger('owl.prev'); }) $(".play").click(function() { owl.trigger('owl.play', 1000); }) $(".stop").click(function() { owl.trigger('owl.stop'); }) }); </script>