Skip to content

Instantly share code, notes, and snippets.

@Potherca

Potherca/dabblet.css

Created May 16, 2012
Embed
What would you like to do?
Floating Block on a Light Blue Small Tile Background
/**
* Floating Block on a Light Blue Small Tile Background
*/
body {
background: #CDE;
background: linear-gradient(45deg, #FFF, #AAF);
background-size: 0.75em 0.75em;
}
.grid {
border-radius: 1em;
background: #FFF;
box-shadow: 0em 8.2em 2em -4em #000;
border: .5em solid #000;
border-bottom: 0.2empx;
}
div {
margin: -25% -25%;
top: 50%;
left: 50%;
height: 50%;
min-width: 50%;
position: absolute;
}
<!-- content to be placed inside <body>…</body> -->
<div class="grid"></div>
{"view":"separate","fontsize":"100","seethrough":"1","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.