Skip to content

Instantly share code, notes, and snippets.

@simoneb
Created January 14, 2017 22:24
Show Gist options
  • Save simoneb/bca1fb62fc54feb523938adfbb28e0cb to your computer and use it in GitHub Desktop.
Save simoneb/bca1fb62fc54feb523938adfbb28e0cb 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%;
}
body {
position: relative;
min-height: 100%;
}
.box {
min-height: 50%;
border: 10px solid hsla(0,0%,100%,.5);
background: white;
}
<!-- content to be placed inside <body>…</body> -->
<body><div class="box" /></body>
// alert('Hello world!');
{"view":"split-vertical","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