Created
June 30, 2016 05:12
-
-
Save oldergod/4c1b12b4ebf9cce157cbb6618b77c93f to your computer and use it in GitHub Desktop.
CSS Coding Tips: Trust your eyes
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
/** | |
* CSS Coding Tips: Trust your eyes | |
*/ | |
div { | |
position: absolute; | |
top: 100px; | |
} | |
span { | |
font-size: 30px; | |
border: 1px solid black; | |
background: pink; | |
} | |
.first { | |
padding: .7em; | |
} | |
.second { | |
padding: .7em .9em; |
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
<div><span class="first">Some text</span><br><br><br><br><br><span class="second">Some text |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment