Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Bootstrap Carousel navigation show only on hover

I was using Bootstrap's Carousel, found here. It's a great script, unfortunately, I'd like for it to be able for the navigation arrows to go away and only appear on hover. Is this possible and how would I would go about implementing that?

Thanks for all help!

like image 946
Muhambi Avatar asked Aug 12 '12 04:08

Muhambi


1 Answers

You just need a little bit of CSS

.carousel .carousel-control { visibility: hidden; } .carousel:hover .carousel-control { visibility: visible; } 

Demo (jsfiddle)

like image 74
Sherbrow Avatar answered Sep 22 '22 14:09

Sherbrow