How to make transparent pictures?

.my-image {
 background-color: #000000;
 background-image: url(../img/favicon/w.jpg); 
 background-position: center top;

This picture should be made transparent.
June 14th 19 at 18:14
2 answers
June 14th 19 at 18:16
Just a picture that is set as background-image, transparent, will not work.
You can bring in another unit, for example,
Opacity: .5 will make the transparency not the picture, and around the block.
Understood thank you - Aileen_Jacobson commented on June 14th 19 at 18:19
June 14th 19 at 18:18
opacity: .5

Find more questions by tags CSSHTML