Gists for CSS Display Properties: The Pillars Of Layout on Fixate's blog.
Last active
April 20, 2016 22:56
-
-
Save larrybotha/2ca793c80454c8787ba9 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
body { | |
display: block; | |
margin: 8px; | |
} |
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
p { | |
display: block; | |
-webkit-margin-before: 1__qem; | |
-webkit-margin-after: 1__qem; | |
-webkit-margin-start: 0; | |
-webkit-margin-end: 0; | |
} | |
address, article, aside, div, footer, header, hgroup, layer, main, nav, section { | |
display: block; | |
} |
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
/* children of the <head> element all have display:none */ | |
head, link, meta, script, style, title { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment