Skip to content

Instantly share code, notes, and snippets.

@thesifter
Created December 8, 2013 21:42
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 thesifter/7864185 to your computer and use it in GitHub Desktop.
Save thesifter/7864185 to your computer and use it in GitHub Desktop.
Untitled
body {
background: #f06;
background: linear-gradient(90deg, #f06, #ff0);
min-height: 100%;
font-family: "Open Sans", Arial, Helvetica, sans-serif;
font-size: 24pt;
}
.wrap {
position: absolute;
top: 60px;
left: 60px;
right: 60px;
}
.thing {
padding: 20px;
background-color: #222;
opacity: 0.6;
}
.thing + span {
color: #fff;
position: absolute;
top: 25%;
left: 20px;
}
<!-- content to be placed inside <body>…</body> -->
<div class="wrap">
<div class="thing"> </div>
<span>This is just a test. This is just a test. This is just a test. This is just a test. This is just a test. This is just a test. This is just a test. </span>
</div>
// alert('Hello world!');
{"view":"separate","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment