S
S
Steel_Designer2018-12-17 05:14:58
css
Steel_Designer, 2018-12-17 05:14:58

How to put one element under another?

I need to place the element from the first screen under the element from the second screen. 5c1705de48ff5654825123.png5c1705e651a61803926578.png
I tried different z-index values, it only helped z-index:0;for the bottom element, but z-index:0;the slider functionality does not work with it.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Egor Antropov, 2018-12-17
@Steel_Designer

Give the first element Give the z-index: 1;
second elementz-index: 999;

P
PinocioCORP, 2018-12-17
@PinocioCORP

Wrapper position: relative
to what needs to be pushed under position: absolute z-index:-1

R
Ruzzy, 2019-01-07
@Ruzzy

and flex-direction: column have you tried?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question