Skip to content

Instantly share code, notes, and snippets.

@rooks
Created May 6, 2012 17:39
Show Gist options
  • Save rooks/2623454 to your computer and use it in GitHub Desktop.
Save rooks/2623454 to your computer and use it in GitHub Desktop.
title
/* title */
body {
background: #d6e1d1;
width: 100%;
height: 100%;
margin: 0;
position: absolute;
}
.container {
width: 80%;
height: 80%;
margin: 0 auto;
position: relative;
}
.vcenter {
position: relative;
top: 50%;
width:100%;
height:10em;
margin-top:-5em;
}
.hline {
position: absolute;
width: 100%;
height: 0px;
border-style: solid;
border-width: 1px 0;
border-top-color: #bbc7b5;
border-bottom-color: #e8efe6;
}
.top { top: 0px; }
.bottom { bottom: 0px; }
.bigfont {
font-size: 128px;
font-family: sans-serif;
margin: 0 auto;
background: gradient(linear, left top, left bottom, color-stop(0%,#8c9b8c), color-stop(100%,#758479));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
<div class="container">
<div class="vcenter">
<div class="hline top"></div>
<span class="bigfont">Oops.</span>
<div class="hline bottom"></div>
</div>
</div>
{"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