Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about absolutely positioning #23

Open
hardfist opened this issue Nov 22, 2016 · 1 comment
Open

Questions about absolutely positioning #23

hardfist opened this issue Nov 22, 2016 · 1 comment

Comments

@hardfist
Copy link

In the absolute positioning model, a box is explicitly offset with respect to its containing block. It is removed from the normal flow entirely (it has no impact on later siblings). An absolutely positioned box establishes a new containing block for normal flow children and absolutely (but not fixed) positioned descendants. However, the contents of an absolutely positioned element do not flow around any other boxes. They may obscure the contents of another box (or be obscured themselves), depending on the stack levels of the overlapping boxes.

" They may obscure the contents of another box (or be obscured themselves), depending on the stack levels of the overlapping boxes" ,I can't figure out under what circumstance that The may be obscure themselves,could you give an example?

@mixu
Copy link
Owner

mixu commented Nov 22, 2016

ahh that could be reworded - I was mainly thinking about two absolute positioned boxes overlapping each other based on the stacking context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants