Skip to content

Instantly share code, notes, and snippets.

@greystate
Created January 21, 2020 21:58
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 greystate/6220ef3d5df42842ba244a9c8e48e7f8 to your computer and use it in GitHub Desktop.
Save greystate/6220ef3d5df42842ba244a9c8e48e7f8 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
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
box-shadow: 0 0 0 20px green inset;
padding: 20px;
box-sizing: border-box;
}
.box {
box-sizing: border-box;
width: 400px;
height: 100px;
background: lime;
margin: 0 auto;
}
body { margin: 0; }
<!-- content to be placed inside <body>…</body> -->
<div class="box"></div>
// alert('Hello world!');
{"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