N
N
Nikolai Ugolnikov2021-07-09 17:47:15
css
Nikolai Ugolnikov, 2021-07-09 17:47:15

How to do ::before under the parent?

How to do ::before under the parent?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2021-07-09
@Ugolnikovvv

.block {
  z-index: 0; // необязательно, не всех случаев
}
::before {
  z-index: -1;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question