Skip to content

Instantly share code, notes, and snippets.

@constantx
Last active January 28, 2020 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save constantx/ede9ff182d57c5513deb to your computer and use it in GitHub Desktop.
Save constantx/ede9ff182d57c5513deb to your computer and use it in GitHub Desktop.
dabblet
div{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#green{
background: green;
}
#pink{
background: pink;
z-index: 2;
}
#yellow{
background: yellow;
z-index: 1;
}
#red{
background: red;
}
<div id="green"></div>
<div id="pink">
<div id="yellow"></div>
</div>
<div id="red"></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