Last active
January 20, 2018 07:30
-
-
Save kunigami/fe8aacc8371ea1f06e7da32985104b03 to your computer and use it in GitHub Desktop.
This file contains 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
Position: static | |
<div class="green box200"> | |
<div class="blue box100" style="position: static">A</div> | |
</div> | |
Position: relative | |
<div class="green box200"> | |
<div class="blue box100" style="position: relative">B</div> | |
</div> | |
Position: absolute | |
<div class="green box200" style="position: relative"> | |
<div class="blue box100" style="position: absolute;"> | |
<div class="red box50" style="position: absolute;">C</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment