Answer the question
In order to leave comments, you need to log in
Shadow under transparent element?
If you make the element transparent and move the shadow under the element, it will not be visible:
But if the shadow falls from another element, it is visible under the transparent block:
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
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 questionAsk a Question
731 491 924 answers to any question