Answer the question
In order to leave comments, you need to log in
We need transparency for cards, but not for the images in them, how best to prescribe?
Where I would like to try a white background with transparency, but did not understand how best to do it, where to set opacity. If in the cards themselves, then the transparency will also be in the images embedded in the cards on a white background (background: whit), but you need it as from the picture where video auto play the picture is taken there
Answer the question
In order to leave comments, you need to log in
background: rgba(255, 255, 255, 0.5);
opacity
however, it is inherited without options, and therefore if you want to use it, you will have to seriously mess up the layout - dividing it into two blocks: transparent and not, and overlaying them by positioning each other.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question