T
T
tarthur2018-06-04 22:42:02
css
tarthur, 2018-06-04 22:42:02

Svg + shadow, responsive?

Hello.
I'm laying out a background in a header that has a bevel (a white triangle at the bottom). I want to bevel using svg. But the problem is in the shadow above. How to make such a shadow?
www.prntscr.com/jqti67

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TheRevan, 2018-06-05
@TheRevan

there is no shadow support in svg, there are filters, but to make the right shadow you need to work decently

I
Ivan Bogachev, 2018-06-05
@sfi0zy

How to make such a shadow?

Use filter with feOffset and feGaussianBlur . Just move and blur. Get a shadow. You can start from here .
Of course, there is also feDropShadow , but in fact it is a shortened syntax for the first option and does not work in IE.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question