X
X
xmoonlight2018-05-03 22:58:31
css
xmoonlight, 2018-05-03 22:58:31

How is the shadow effect for objects made and are there similar libraries?

Hello.
Here is an example of shadows:
5aeb696351668356470910.gif
How and with what to do this on a web page for all visual elements?
In advance, Thank you all for your help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
profesor08, 2018-05-04
@profesor08

Make on svg, rect (colored square) and path (will act as a shadow). Depending on the position of the source, change the coordinates for path. 4x coordinates are enough, two near the square, two outside the container.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question