Skip to content

Instantly share code, notes, and snippets.

@ojanvafai
Created July 16, 2015 02:52
Show Gist options
  • Save ojanvafai/218f4bdea551f0206b63 to your computer and use it in GitHub Desktop.
Save ojanvafai/218f4bdea551f0206b63 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.container {
width: 200px;
height: 200px;
background: green;
position: absolute;
}
.inner {
margin: 20px;
background: red;
height: 80%;
}
.inner2 {
margin: 40px;
background: red;
height: 160%;
}
<div class='container'><div class='inner'></div></div>
<div class='container' style='left: 220px;'><div class='inner' style='zoom: 2;'></div></div>
<div class='container' style='left: 440px;'><div class='inner2'></div></div>
// alert('Hello world!');
{"view":"split","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