Skip to content

Instantly share code, notes, and snippets.

@vshan
Created December 27, 2011 09:23
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 vshan/1523136 to your computer and use it in GitHub Desktop.
Save vshan/1523136 to your computer and use it in GitHub Desktop.
Untitled
p {
text-align: center;
margin: 0 auto;
text-align: center;
font-family: 'Mate Sc';
font-size: 40px;
color: black;
transition: all 0.2s ease-in-out;
text-shadow: 1px 0px #eee, 0px 1px #ccc,
2px 1px #eee, 1px 2px #ccc,
3px 2px #eee, 2px 3px #ccc;
}
div {
width: 150px;
height: 106px;
padding: 22px 0px;
margin: 0 auto;
margin-top: 50px;
background: rgba(0,0,0,0.03);
border-radius: 160px;
transition: all 0.2s ease-in-out;
box-shadow: 0px 0px 0px rgba(220,220,220,1),
inset 0px 0px 50px rgba(220,220,220,0.5)
;
}
div:hover {
box-shadow: 0px 0px 10px rgba(220,220,220,1),
inset 0px 0px 0px rgba(220,220,220,0.5)
;
transition: all 0.2s ease-in-out;
}
div:hover p {
text-shadow: 1px 0px #eee, 0px 1px #ccc,
2px 1px #eee, 1px 2px #ccc,
3px 2px #eee, 2px 3px #ccc,
4px 3px #eee, 3px 4px #ccc,
5px 4px #eee
,4px 5px #ccc,
6px 5px #eee, 5px 6px #ccc,
7px 6px #eee, 6px 7px #ccc,
8px 7px #eee
,7px 8px #ccc,
8px 8px #eee
; }
p + p {font-family: 'Josefin Slab';}
<head>
<link href='http://fonts.googleapis.com/css?family=Trykker' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Josefin+Slab' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Mate+SC' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Buenard' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Podkova' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Stoke' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="logo"> <p> Life </p> <p> Circle </p> </div>
</body>
{"view":"split","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment