M
M
Mikhail Sergeev2015-10-13 15:25:41
css
Mikhail Sergeev, 2015-10-13 15:25:41

How to apply a shadow to an image in the background using CSS?

How to apply a shadow to an image in the background using CSS? Weak shadow, any color?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-10-13
@msjooy

You need inset.

.test {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question