Created
February 23, 2015 23:15
-
-
Save FremyCompany/6ba390b2ab9ddf886298 to your computer and use it in GitHub Desktop.
Proof position:relative is necessary to create layout islands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <main> | |
| some main content here | |
| <section style="position: not-relative; width: 100px; height: 100px; background: blue; color: white; overflow: hidden;"> | |
| some section content here | |
| <aside style="position: absolute; top: 5px; left: 50px; background: red; -ms-wrap-flow: both"> | |
| some aside content here | |
| </aside> | |
| </section> | |
| </main> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you can't test in IE, the rendering is roughly:
| some [some aside content here] main content here
| some section content here