Skip to content

Position #60

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

Closed
seyedi opened this issue Apr 15, 2016 · 1 comment
Closed

Position #60

seyedi opened this issue Apr 15, 2016 · 1 comment
Assignees
Labels

Comments

@seyedi
Copy link

seyedi commented Apr 15, 2016

Hi, Can you help me with this please...

Is this statement correct?

If an element is positioned absolutely and none of its predecessors have a positioning context, it is positioned relative to the of the page.

Check this demo which the movement of html doesn't effect the position of our square till html has the position relative.

http://jsbin.com/zepopa/edit?html,css,output

so I think the element is positioned relative to the page not html.

Thank you so much for your great reference.

@crnacura crnacura self-assigned this Apr 23, 2016
@crnacura crnacura added the bug label Jul 29, 2016
@crnacura
Copy link
Member

Thanks, it should be viewport! Corrected.

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

No branches or pull requests

2 participants