I
I
Ilya2018-02-12 13:18:02
css
Ilya, 2018-02-12 13:18:02

Shadow under transparent element?

If you make the element transparent and move the shadow under the element, it will not be visible:
l2ZyEVh8ddBxmJ.jpg
But if the shadow falls from another element, it is visible under the transparent block:
brRRG8cQZZk9r1.jpg
How can you make the shadow under the transparent element visible without using an additional element?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2018-02-12
@Mr_Epic

No way.
https://drafts.csswg.org/css-backgrounds-3/#shadow...
PS as the "other" element, you can try using :before/:after pseudo-elements .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question