M
M
mius_it2020-09-28 11:13:58
css
mius_it, 2020-09-28 11:13:58

How to move a block outside the boundaries of the parent block universally and adaptively?

I'm trying to implement toggle on uikit for each element from the grid block.
5f719af8111b4698552967.jpeg
By clicking on the element, it should pop up like this:
5f719b0391ec1128262122.jpeg
But it pops up like this:
5f719b0a54c2b489775420.jpeg
- positioned by the left edge of the parent element.

How to universally exit the parent block? I don't find any easy solutions. I absolutely cannot position, in this case the content will not move down. A negative left margin cannot be written either, because we do not know its value. What is the element in the line: first, fourth? Plus, it's adaptive.
Please tell me what is the best solution for this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Marchuk, 2020-10-08
@mius_it

Sketched on the knee:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question