Skip to content

Instantly share code, notes, and snippets.

@lorenzoferrante
Last active December 10, 2015 14:08
Show Gist options
  • Save lorenzoferrante/4446099 to your computer and use it in GitHub Desktop.
Save lorenzoferrante/4446099 to your computer and use it in GitHub Desktop.
Box-shadow property
/**
* Box-shadow property
*/
html {
font-family: 'Lato';
min-height: 100%;
background: linear-gradient(#b4bcbf, #fff);
padding: 0;
margin: 0;
}
h1 {
font-size: 1.2em;
color: #fff;
display: inline-block;
position: absolute;
left: 47.5%;
padding: .9em 1em;
border-radius: 7px;
border: 1px solid #123456 ;
background-color: #3f7eb6;
background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.15));
box-shadow: inset 0 1px rgba(255,255,255, .4);
}
<!-- content to be placed inside <body>…</body> -->
<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
<h1>Hello Folks.</h1>
// alert('Hello world!');
{"view":"separate","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