Created
January 3, 2013 19:07
-
-
Save lorenzoferrante/4446078 to your computer and use it in GitHub Desktop.
Box-shadow property
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 #444; | |
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); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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