H
H
html-css2020-02-29 12:59:26
Fonts
html-css, 2020-02-29 12:59:26

Css shadow, how to give both outer and inner shadow to 1 block?

I give an inner shadow in the general block , but the outer shadow is also needed if I duplicate it, it works only in the last case, how to give both an outer and an inner shadow to the 1st block?
box-shadow: inset 0px 10px 15px rgba(0,0,0,0.2);
box-shadow: 0px 10px 15px rgba(0,0,0,0.2);

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene Chefranov, 2019-07-11
@Chefranov

Gotham Rounded Bold
5d2766776df37639221759.png

A
Ankhena, 2020-02-29
@html-css

I would like to send to Google with such questions.
But in general, multiple shadows are written separated by commas, otherwise you simply interrupt the first property.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question