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
"Owl Carousel Arrows on hover"
Bootstrap 4.0.0 Snippet by
dkstudio
4.0.0
carousel
hover
Preview
HTML
CSS
JS
View Full Screen
Fork
Fork this
51.8K
 
16 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.css'> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.theme.min.css'> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css'> <div class="container"> <div class="row"> <div id="owl-example" class="owl-carousel"> <div><img src="//placehold.it/300x300/936/c69/?text=1" alt=""></div> <div><img src="//placehold.it/300x300/693/9c6/?text=2" alt=""></div> <div><img src="//placehold.it/300x300/369/69c/?text=3" alt=""></div> <div><img src="//placehold.it/300x300/c33/f66/?text=4" alt=""></div> <div><img src="//placehold.it/300x300/099/3cc/?text=5" alt=""></div> <div><img src="//placehold.it/300x300/f93/fc6/?text=6" alt=""></div> </div> </div> </div> <script> $(document).ready(function() { $("#owl-example").owlCarousel({ itemsDesktop : [1499,4], itemsDesktopSmall : [1199,3], itemsTablet : [899,2], itemsMobile : [599,1], navigation : true, navigationText : ['<span class="fa-stack"><i class="fa fa-circle fa-stack-1x"></i><i class="fa fa-chevron-circle-left fa-stack-1x fa-inverse"></i></span>','<span class="fa-stack"><i class="fa fa-circle fa-stack-1x"></i><i class="fa fa-chevron-circle-right fa-stack-1x fa-inverse"></i></span>'], }); }); </script>
.owl-buttons { display: none; } .owl-carousel:hover .owl-buttons { display: block; } .owl-item { text-align: center; } .owl-theme .owl-controls .owl-buttons div { background: transparent; color: #869791; font-size: 40px; line-height: 300px; margin: 0; padding: 0 60px; position: absolute; top: 0; } .owl-theme .owl-controls .owl-buttons .owl-prev { left: 0; padding-left: 20px; } .owl-theme .owl-controls .owl-buttons .owl-next { right: 0; padding-right: 20px; }
<script src='https://code.jquery.com/jquery-1.12.4.min.js'></script> <script src='https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.js'></script>
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76