Snap Builder Public Codes Library
Snap | Generators | Login | Browse | Search | Enter Code | Export Snap Builder Public Codes Library

 

Category: Cascading Style Sheets (HTML5 - SCSS - CSS3 & CSS) >> Menus & Navigation >> CSS3 Rolling Stones Menu Navigation


Code Snippet </> Info


Snippet Name: CSS3 Rolling Stones Menu Navigation

Description: Add this rolling stone menu navigation to your web page.
Example: View Code Demo

Note:

Author: Yair Even-Or

Last Modified: 2015-03-20 00:27:36

Language: css

Highlight Mode: css

Copy Codes: Use Free Notepad ++
Bookmark and Share

Snap HTML Code Editor:
Paste the source code, make changes and instantly see it in live preview.
Snap HTML Code Editor


  About Copying

<!doctype html> <html> <head> <meta charset="UTF-8"> <title>Pure HTML5 CSS3 Rolling Stones: CSS-only menu with rolling items</title> <meta name="google" value="notranslate"> <script style="display: none !important;"> window.alert = function(){}; window.confirm = function(){}; window.prompt = function(){}; window.open = function(){}; window.print = function(){}; </script> <style> /* Begin Pure HTML5 CSS3 Rolling Stones: CSS-only menu with rolling items */ /* == This Script Free To Use Providing This Notice Remains == */ /* == This Script Has Been Found In The http://snapbuilder.com Free Public Codes Library == */ /* == NOTICE: Though This Material May Have Been In A Public Depository, Certain Author Copyright Restrictions May Apply == */ /* == Created by: Yair Even-Or : http://dropthebit.com/ : Creative Commons License == */ @font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400; src: local('Roboto Condensed Regular'), local('RobotoCondensed-Regular'), url(http://themes.googleusercontent.com/static/fonts/robotocondensed/v7/Zd2E9abXLFGSr9G3YK2MsFzqCfRpIA3W6ypxnPISCPA.woff) format('woff'); } html{ height:100%; font-family: 'Roboto Condensed'; } body{ min-height:100%; background-image: -webkit-radial-gradient(top, circle cover, #3c3b52 0%, #252233 80%); background-image: -moz-radial-gradient(top, circle cover, #3c3b52 0%, #252233 80%); background-image: -o-radial-gradient(top, circle cover, #3c3b52 0%, #252233 80%); background-image: radial-gradient(top, circle cover, #3c3b52 0%, #252233 80%); color:#fff;} *{ margin:0; padding:0; } body{ text-align:center; padding:20px 0; } h1{ font-size:1.8em; color:#fff; margin-bottom:50px; letter-spacing:-1px; text-transform:capitalize; text-shadow:0 2px 2px rgba(0,0,0,0.6); } ul{ background-color:rgba(0,0,0,0.4); border-bottom:1px solid rgba(255,255,255,0.25); box-shadow:0 0 8px rgba(0,0,0,0.4) inset; border-radius:16px; margin:0; padding:0 30px; } ul li a{ letter-spacing:-1px; text-decoration:none; text-transform:uppercase; color:#FFF; } /* The effect */ ul{ display:inline-block; text-align:center; height:50px; overflow:hidden; } ul li{ float:left; height:100%; list-style:none; margin:0 30px; } ul li *{ display:inline-block; font-size:1.3em; line-height:50px; } ul li a{ margin-top:-50px; transition:0.3s cubic-bezier(0.1, 0.1, 0.5, 1.4); } ul li a:hover{ margin-top:0; } ul li a:before{ content:attr(data-text); display:block; color:#CDF745; } </style> </head> <body onload="_l='t';"> <h1>Rolling Stones: CSS-only menu with rolling items</h1> <ul> <li><a data-text='CSS' href="#">CSS</a></li> <li><a data-text="HTML" href="#">HTML</a></li> <li><a data-text="Javascript" href="#">JavaScript</a></li> <li><a data-text="About" href="#">About</a></li> </ul> <p>[ This code example from <a href="http://snapbuilder.com/code_snippets/copy_code_snippet_219.html">Pure HTML5 CSS3 Rolling Stones Menu Code Snippet</a> page. ]</p> </body> </html>


[ Snippet Options ]

 

© 2002 -  Snap Builder Public Codes Library