Created
April 4, 2012 08:13
-
-
Save palimadra/2299635 to your computer and use it in GitHub Desktop.
css3 nameplate
This file contains hidden or 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
<DOCTYPE html> | |
<html> | |
<head> | |
<title>nameplate</title> | |
</head> | |
<style> | |
#angle { | |
width: 150px; | |
height: 150px; | |
background: #626262; | |
-webkit-transform: (5,10,8,100,10px,100px); | |
-webkit-transform: rotate(-45deg); | |
position: absolute; | |
z-index: 1; | |
top: 75px; | |
left: 140px; | |
border-top: 3px solid #b3b3b3; | |
} | |
#nameplate { | |
width: 600px; | |
height: 150px; | |
background: -webkit-gradient( | |
linear, | |
left top, | |
left bottom, | |
color-stop(0.1, rgb(214,214,214)), | |
color-stop(0.9, rgb(163,163,163)) | |
); | |
z-index: 2; | |
position: absolute; | |
top: 150px; | |
left: 100px; | |
border-top: 3px solid white; | |
border-left: 2px solid #a0a0a0; | |
border-bottom: 2px solid #a0a0a0; | |
border-top-right-radius: 10px; | |
border-bottom-right-radius: 10px; | |
box-shadow: 2px 2px 20px #333; | |
} | |
#nameplate a { | |
font-size: 85px; | |
margin-left: 30px; | |
font-family: Arial; | |
text-shadow: 0px 3px 4px white; | |
color: #525252; | |
} | |
#controler { | |
margin-top: 30px; | |
margin-left: 62px; | |
} | |
</style> | |
<body> | |
<div id='angle'></div> | |
<div id='nameplate'> | |
<div id='controler'><a>COUNTRY</a></div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment