Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Keeper 輪播"
Bootstrap 3.3.0 Snippet by
taironlife
3.3.0
jQuery
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
1.1K
 
0 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"> <link rel="stylesheet" href="http://keeper.taironlife.com/js/assets/owl.carousel.css"> <div class="container"> <div class="row"> <h2 class="text-center">Keeper 輪播</h2> <div class="col-md-12"> <div class="owl-carousel"> <div class="item"><img src='http://keeper.taironlife.com/img/img296.jpg' alt=''/></div> <div class="item"><img src='http://keeper.taironlife.com//img/img296.jpg' alt=''/></div> <div class="item"><img src='http://keeper.taironlife.com//img/img309.jpg' alt=''/></div> </div> </div> </div> </div> <script src="http://keeper.taironlife.com/js/owl.carousel.min.js"></script> <script src="http://keeper.taironlife.com/js/owl.carousel.js"></script>
.owl-carousel .owl-nav > div { position: absolute; display: inline-block; width: 3%; text-align: center; /*opacity: .5;*/ bottom: 45%; color: #FFF; } .owl-carousel .owl-nav > div:hover { /*opacity: 1;*/ color: #FC1F02; } .owl-carousel .owl-nav .owl-next { right: 20px; } .owl-carousel .owl-nav .owl-prev { left: 20px; } .owl-carousel .owl-dot { background-color: #000; border-radius: 50%; display: inline-block; height: 15px; margin: 0 5px; width: 15px; opacity: .7; } .owl-dots > .active{ background-color: #FC1F02; border: solid 2px #fff; } .owl-carousel .active{ opacity: 1; } .owl-carousel .owl-dots { bottom: 2em; display: inline-block; position: absolute; text-align: center; width: 100% } .owl-carousel{ position: relative; margin-bottom: 6em; }
$(function(){ $('.owl-carousel').owlCarousel({ loop: true, margin: 10, autoplay: true, items: 1, nav: true, navText:["<i class='fa fa-angle-left fa-4x'></i>","<i class='fa fa-angle-right fa-4x'></i>"], autoHeight:true }) });
Related:
See More
Template
Now UI Dashboard PRO React
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76