Making a carousel background transparent.

0
I am using a carousel to display some cards. In background I have a image which should come as background for the carousel as well but I am getting white background for carousel. Can anyone help me with removing the white space and retaining the cards in the carousel.
asked
1 answers
0

Hi Vibhu Raghav,

you can do it with the help of CSS, adjust the opacity of the card and its color, if you want it not to be completely transparent, add a card class:

 

.cardContainer {

    background-color: rgba(255, 255, 255, 0.5);

}

 

You adjust the opacity level with the help of these "0.5" values at the end of the background-color, just set yourself other values you are interested in.

 

image.png

image.png

answered