sorry_i_noob2019-09-11 22:13:48
sorry_i_noob, 2019-09-11 22:13:48

There are cards on the site. The cards have a shadow. How to make sure that the shadow from one card does not fall on another card?

What is happening now:
The shadow from one card comes to other cards (blackout is visible in the corners). Is there anything that can be done to prevent this from happening? So that the shadow was under the cards. How to do it? I tried making the after element with position: absolute, width: 100% and height: 100%. I added a shadow to it, made z-index 0. And for the cards z-index: 1. Removed the shadow from the cards. And all the same, the shadow climbs onto other cards.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Dmitry Alekseev, 2018-04-05

Visual editor of regular expressions with examples https://uiregex.com/ru

Rustam Bainazarov, 2019-09-11

Make a shadow on a separate block with z-index: -1.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question