Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html" />
- <meta name="author" content="gencyolcu" />
- <title>Layout</title>
- </head>
- <link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
- <style>
- body, html
- {
- margin: 0;
- padding: 0;
- background: rgba(0,0,0,0.1);
- font-family: Ubuntu;
- }
- #head
- {
- height: 65px;
- background: #545454;
- border-bottom: 5px solid #353535;
- }
- #head nav
- {
- margin: 0 auto;
- width: 800px;
- text-align: center;
- }
- #head nav a
- {
- margin: 0 10px;
- color: rgba(255,255,255,0.7);
- text-decoration: none;
- line-height: 65px;
- transition: box-shadow 0.7s, color 0.5s, text-shadow 0.6s;
- padding: 24px 10px 26px 10px;
- }
- #head nav a:hover
- {
- box-shadow: inset 0px 67px 0px 0px rgba(0,0,0,0.3);
- color: rgba(255,255,255,0.85);
- text-shadow: 0px 0px 5px white;
- }
- #head nav .selected
- {
- margin: 0 10px;
- color: #FFF;
- text-shadow: 0px 0px 7px white;
- }
- </style>
- <body>
- <div id="head">
- <nav>
- <a href="#">Home</a>
- <span class="selected">Blog</span>
- <a href="#">YouTube</a>
- <a href="#">Facebook</a>
- </nav>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment