How do you remove the default Bootstrap 3 carousel control background gradients?

后端 未结 5 1825
北海茫月
北海茫月 2021-01-30 20:44

I\'m pretty sure this is the code I need to modify, but for some reason I can\'t get the gradients to disappear in IE. I want them completely gone!

.carousel-con         


        
5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-30 21:15

    I notice that this will also have this annoying dotted line box when you click it unless you add this:

    All in all, this makes the buttons beautiful:

    .carousel-control.left, .carousel-control.right {
      background: none !important;
      filter: progid: none !important;
      outline: 0;
     }
    .carousel .carousel-control {
      visibility: hidden;
    }
    .carousel:hover .carousel-control {
      visibility: visible;
    }
    

提交回复
热议问题