Created
February 4, 2015 03:12
-
-
Save Chun-Yang/c48143a096956be37e4f to your computer and use it in GitHub Desktop.
Note on css position http://css-tricks.com/absolute-relative-fixed-positioining-how-do-they-differ/
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
| 1. Position does not cascade | |
| 2. Static: | |
| - Default | |
| - Does not have a z-index | |
| 3. Relative: | |
| - Relative to default(static) | |
| - Has a z-index value | |
| - Limit scope of absolutely positioned child element | |
| 4. Absolute: | |
| - Relative to a parent(which is relative or absolute positioned) | |
| - Does not interact with other elements | |
| 5. Fixed: | |
| - Relative to bowser window | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment