Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <<<<<<<<<<<<<<<<<<<<<<<<< INDEX.HTML >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- <div class="uff">
- <ul class="snip1211">
- <li class="current"><a href="#">Home</a></li>
- <li><a href="#">About Us</a></li>
- <li><a href="#">Blog</a></li>
- <li><a href="#">Services</a></li>
- <li><a href="#">Products</a></li>
- <li><a href="#">Contact</a></li>
- </ul></div>
- <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< MAIN.CSS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- div.uff{
- background-color:#c7c7c7;
- content: '';;
- height:48px;
- border-radius: 8px;
- border-color: #fff;
- -webkit-transform-origin: 0 100%;
- transform-origin: 0 100%;
- }
- .snip1211 {
- font-family: 'Raleway', Arial, sans-serif;
- text-align: center;
- text-transform: uppercase;
- letter-spacing: 1px;
- }
- .snip1211 * {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-transition: all 0.35s ease;
- transition: all 0.35s ease;
- }
- .snip1211 li {
- display: inline-block;
- list-style: outside none none;
- margin: 0.5em 1.5em;
- padding: 0;
- }
- .snip1211 a {
- padding: 0.4em 0;
- color: rgba(0,0,0,1);
- font-weight:bold;
- position: relative;
- text-decoration: none;
- display: inline-block;
- }
- .snip1211 a:before {
- position: absolute;
- content: '';
- -webkit-transition: all 0.35s ease;
- transition: all 0.35s ease;
- opacity: 0;
- top: 25%;
- bottom: 25%;
- left: 0;
- right: 0;
- border-top: 3px solid #34495e;
- border-bottom: 3px solid #34495e;
- }
- .snip1211 a:hover,
- .snip1211 .current a {
- color: #1874CD;
- }
- .snip1211 a:hover:before,
- .snip1211 .current a:before {
- opacity: 1;
- top: 0;
- bottom: 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement