Skip to content

Instantly share code, notes, and snippets.

@stijnj
Created December 19, 2012 20:19
Show Gist options
  • Save stijnj/4340107 to your computer and use it in GitHub Desktop.
Save stijnj/4340107 to your computer and use it in GitHub Desktop.
Box-model: simple example
/**
* Box-model: simple example
*/
div {
float: left;
padding: 30px;
border: 1px solid green;
margin: 10px;
font-size: 100px;
}
span { background: yellow; }
<div><span>content</span></div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment