Skip to content

Instantly share code, notes, and snippets.

@fazlurr
Created March 3, 2014 04:11
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 fazlurr/9318237 to your computer and use it in GitHub Desktop.
Save fazlurr/9318237 to your computer and use it in GitHub Desktop.
Learn About em's
/**
* Learn About em's
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.sunken {
margin: 5px;
background-color: #fff;
}
.sunken--one {
width: 16px;
height: 16px;
}
.sunken--two {
width: 10em;
height: 10em;
}
<!-- content to be placed inside <body>…</body> -->
<body>
<div class="sunken sunken--one"></div>
<div class="sunken sunken--two"></div>
</body>
// alert('Hello world!');
{"view":"split","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