How to remove shadow from glyphics in carousel download

I have a carousel on my site. The right and left arrows of the glyphics that come with it are surrounded by a square gray box of shading. I was wondering if anyone could tell me how to remove the shading, so I have arrows. Should I rewrite bootstrap css?

+6
source share
2 answers

I had this problem before, just add this as bootstrap offers a shadow as a background image and / or as a filter

.carousel-control.left, .carousel-control.right { background-image:none !important; filter:none !important; } 

And as suggested before I changed the opacity, but to 1

+15
source

I think you mean controls. carousel.

This Bootply I created should show you what you need to configure, which is the opacity of the element.

http://www.bootply.com/TvRdyXhIxo

Set the opacity in the normal state and the hover state to whatever you want.

 .carousel-control { opacity: 0.5; } .carousel-control:hover { opacity: 0.5; } 
0
source

Source: https://habr.com/ru/post/983589/


All Articles