Skip to content

Instantly share code, notes, and snippets.

@loai-kanou
Forked from LeaVerou/dabblet.css
Created August 5, 2013 03:50
Show Gist options
  • Save loai-kanou/6153387 to your computer and use it in GitHub Desktop.
Save loai-kanou/6153387 to your computer and use it in GitHub Desktop.
Hashes in containers
/**
* Hashes in containers
*/
div {
width: 300px;
height: 300px;
overflow: auto;
border: 1px solid gray;
margin: 20px auto;
}
section {
height: 200px;
background: blue;
}
section#a { background: red }
section#b { background: blue }
section#c { background: green }
section#d { background: purple }
<div>
<section id="a">a</section>
<section id="b">b</section>
<section id="c">c</section>
<section id="d">d</section>
</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