Created
January 5, 2016 21:49
-
-
Save AndyNovo/6658b6d4ba473bcb70f1 to your computer and use it in GitHub Desktop.
box model basics
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
/* box model basics */ | |
div { | |
background-color: #aaa; | |
display: block; | |
outline: 5px dashed white; | |
margin: 50px; | |
border: 30px solid hsla(2000,100%,50%, .4); | |
padding: 10px; | |
background-clip: padding-box; | |
} | |
body { | |
background: url("https://image-gr.s3.envato.com/files/64685809/Green%20Lawn%20Wallpaper%20L.jpg"); | |
} | |
p { | |
background-color: blue; | |
} |
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
<div>This is some content.</div> | |
<div>Some other content</div> | |
<p>Other Stuff Here</p> |
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
// alert('Hello world!'); |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment