J
J
Johnny2016-08-11 11:22:34
css
Johnny, 2016-08-11 11:22:34

How to make a background image transparent if there is a gradient behind it?

Good afternoon, can you tell me if it is possible to make the background image transparent on one side, provided that the background behind it is made with a gradient? https://jsfiddle.net/crdd7sjh/

If there was a block of the same color behind this layer, for example #fff, then we could make a gradient or box-shadow, but what to do in this case? (for better understanding - https://jsfiddle.net/Lxz7p4a7/ )

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2016-08-11
@GreysonKind

https://css-tricks.com/clipping-masking-css/#artic...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question