Y
Y
Your Friend2016-05-17 13:39:50
css
Your Friend, 2016-05-17 13:39:50

How to shade an image?

Tell me how to apply a gradient to the img that lies in the div, while it is the image itself that needs to be shaded. Maybe there are other ways to do it like this? Tell me who knows
4fa132e575e04d1a9bb1f28bbe94f6aa.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Adamos, 2016-05-17
@Adamos

If the img contains png, in which the "sea" is white, and Europe is transparent, then the background property of this img can create any dynamic miracles.

K
Ksenia Mikhailova, 2016-05-19
@arizona

With svg you can do this (only the original image should be with transparent areas) https://codepen.io/aarizona/pen/zqQEMo?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question