Absolute positioned elements

Is it ok (valid and stable) to have absolute positioned element who has a flexbox container with other items? What are the things that could go wrong?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
Not sure I understand the question. But here is my input.

Absolute positioned elements take themselves out of the flow of the document - so they don't have any effect on the layout of other items (other than to potentially obscure or be obscured by them).

The only consideration I can think of is if you have another absolutely positioned item that want's to be relative to a grandparent or great-grandparent and you apply a relative style to the immediate parent to position your new item - that could result in the former being positioned incorrectly - but this is a function of absolute positioned items - not of the flexbox layout.

Bottom line - absolute positioning makes an element independent (relative to its parent) - and does not affect other children of the parent outside of z-index ordering of layers.

Perhaps give us more detail of what you want to do.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Fajer39Author Commented:
Thank You. That's a good explanation.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.