D
D
denism3002018-12-24 10:16:43
css
denism300, 2018-12-24 10:16:43

How to pin a window to the parent's parent?

There is a structure like this:

<div class="row">
    <div class="col-4 child-1">Что-то тут</div>
    <div class="col-4 child-2"><button>Кнопка</button><div class="dropdown">Что-то тут еще</div></div>
    <div class="col-4 child-3">Что-то тут</div>
<div>

all child have position: relative and changing the property will not work, because the whole bootstrap layout will go
dropdown has position: absolute and is positioned, of course, relative to child-2
How to position dropdown relative to row?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jupiter Max, 2018-12-24
@vardoLP

It's easier to pull the desired block into the row wrapper and that's it than to invent a new scenario

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question