Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nav {
- width: 100%;
- background-color: #0b0b0b;
- position: fixed;
- bottom: 0;
- height: 100px;
- overflow: hidden;
- z-index:999;
- }
- nav ul {
- position: absolute;
- top: 0;
- left: 0;
- list-style-type: none;
- padding: 0;
- margin: 0;
- width: 140vw;
- }
- nav li a{
- color:#888;
- }
- nav li {
- margin: 0;
- float: left;
- display: inline-block;
- height: 98px;
- margin-bottom: 2px;
- line-height: 100px;
- width: 20vw;
- text-align: center;
- color: #555;
- transition: background-color 0.5s 0.2s ease, color 0.3s ease;
- cursor: pointer;
- font-size: 12px;
- text-transform: uppercase;
- letter-spacing: 4px;
- font-weight: 800;
- transform: translateY(100%);
- }
- nav li.active {
- background-color: #151515;
- color: #efefef;
- }
- nav li.active::after {
- content: "";
- position: absolute;
- bottom: -2px;
- left: 0;
- width: 100%;
- height: 2px;
- background-color: #f7ca18;
- }
- nav li:nth-child(1) {
- animation: pop 0.5s 0.15s 1 forwards;
- }
- nav li:nth-child(2) {
- animation: pop 0.5s 0.3s 1 forwards;
- }
- nav li:nth-child(3) {
- animation: pop 0.5s 0.45s 1 forwards;
- }
- nav li:nth-child(4) {
- animation: pop 0.5s 0.6s 1 forwards;
- }
- nav li:nth-child(5) {
- animation: pop 0.5s 0.75s 1 forwards;
- }
- nav li:nth-child(6) {
- animation: pop 0.5s 0.9s 1 forwards;
- }
- nav li:nth-child(7) {
- animation: pop 0.5s 1.05s 1 forwards;
- }
- nav li:hover {
- color: #ececec;
- }
- nav li:active {
- background-color: #222;
- }
- nav li:nth-child(1):hover ~ .slide {
- left: 0;
- }
- nav li:nth-child(2):hover ~ .slide {
- left: 20vw;
- }
- nav li:nth-child(3):hover ~ .slide {
- left: 40vw;
- }
- nav li:nth-child(4):hover ~ .slide {
- left: 60vw;
- }
- nav li:nth-child(5):hover ~ .slide {
- left: 80vw;
- }
- nav li:nth-child(6):hover ~ .slide {
- left: 100vw;
- }
- nav li:nth-child(7):hover ~ .slide {
- left: 120vw;
- }
- nav li.slide {
- position: absolute;
- left: -20vw;
- top: 0;
- background-color: #fff;
- z-index: -1;
- height: 2px;
- margin-top: 98px;
- transition: left 0.3s ease;
- transform: translateY(0);
- }
- @-moz-keyframes pop {
- 0% {
- transform: translateY(100%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-webkit-keyframes pop {
- 0% {
- transform: translateY(100%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-o-keyframes pop {
- 0% {
- transform: translateY(100%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @keyframes pop {
- 0% {
- transform: translateY(100%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-moz-keyframes byBottom {
- 0% {
- transform: translateY(150%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-webkit-keyframes byBottom {
- 0% {
- transform: translateY(150%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-o-keyframes byBottom {
- 0% {
- transform: translateY(150%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @keyframes byBottom {
- 0% {
- transform: translateY(150%);
- }
- 100% {
- transform: translateY(0);
- }
- }
- @-moz-keyframes linkAfter {
- 0% {
- width: 0;
- }
- 100% {
- width: 30px;
- }
- }
- @-webkit-keyframes linkAfter {
- 0% {
- width: 0;
- }
- 100% {
- width: 30px;
- }
- }
- @-o-keyframes linkAfter {
- 0% {
- width: 0;
- }
- 100% {
- width: 30px;
- }
- }
- @keyframes linkAfter {
- 0% {
- width: 0;
- }
- 100% {
- width: 30px;
- }
- }
- <nav>
- <ul>
- <li><a href="#personal" data-toggle="tab" class="active">Personal</a></li>
- <li><a href="#responsive" data-toggle="tab">Responsive</a></li>
- <li><a href="#premium" data-toggle="tab">Premium</a></li>
- <li><a href="#contact" data-toggle="tab">Contact</a></li>
- <li><a href="/">Back</a></li>
- <li class="slide"></li>
- </ul>
- </nav>
- <style type="text/css">
- @import url(http://fonts.googleapis.com/css?family=Oswald:400|Open+Sans:700);
- @import url(http://weloveiconfonts.com/api/?family=fontawesome);
- /* fontawesome */
- [class*="fontawesome-"]:before {
- font-family: 'FontAwesome', sans-serif;
- }
- body {
- background: #e6e6d8 url('https://dl.dropboxusercontent.com/s/t0gu051d08sei65/bg-retro-noise.png');
- color: #121212;
- }
- section.text {
- position: absolute;
- width: 100%;
- min-width: 800px;
- text-align: center;
- top: 50%;
- margin-top: -55px;
- }
- h1 {
- font-family: "Oswald", Sans-serif;
- text-transform: uppercase;
- font-weight: 400;
- font-size: 70px;
- text-shadow: 4px 5px #e6e6d8, 6px 7px #c6a39a;
- }
- h1 span {
- display: inline-block;
- vertical-align: middle;
- }
- span.star {
- font-size: 20px;
- }
- h3 {
- font-family: "Open Sans", Sans-serif;
- text-transform: uppercase;
- font-weight: 700;
- font-size: 20px;
- letter-spacing: 0.1em;
- margin-bottom: 10px;
- position: relative;
- }
- h3:before, h3:after {
- content: " ";
- position: absolute;
- width: 100px;
- height: 4px;
- border-top: 2px solid #121212;
- border-bottom: 2px solid #121212;
- }
- h3:before {
- margin: 5px 0 0 -110px;
- }
- h3:after {
- margin: 5px 0 0 10px;
- }
- </style>
- <section class="text">
- <h3>Hey everyone look at this</h3>
- <h1><span class="fontawesome-star star"></span> <span>Awesome Vintage Title</span> <span class="fontawesome-star star"></span></h1>
- </section>
- <div id="lado">
- <div class="caixas">
- <img class="perfil" src="{image:sidebar}" />
- <div class="description">{Description}</div>
- <div class="sociallinks">
- <a href="{text:Facebook Url}" title="Facebook"><li class="fa fa-facebook"></li>
- <a href="{text:Twitter Url}" title="Twitter"><li class="fa fa-twitter"></li>
- <a href="{text:Instagram Url}" title="Instagram"><li class="fa fa-instagram"></li>
- <a href="{text:WeHeartIt Url}" title="WeHeartIt"><li class="fa fa-heart"></li>
- </a>
- </div>
- </div>
- <div class="caixas">
- <div class="caixatitulo">
- <div class="gd" style="margin-left:75px;">Perdido? Pesquise.</div>
- </div>
- <form action="/search" method="get" class="sform" name="form">
- <input type="text" name="q" value="{SearchQuery}" class="sbox" placeholder="Palavra + enter"/></form>
- </div>
- <div class="caixas" style="margin-top:80px;">
- <div class="caixatitulo">
- <div class="gd" style="margin-left:50px;">Posts mais interessantes</div>
- </div>
- <div style="margin-bottom:15px; text-transform:uppercase; font-weight:bold;">
- <a href="#">Melhores Saias</a>
- <div style="text-transform:none; font-style:italic; font-weight:normal;">By <a href="#">Carolaine</a></div></div>
- <div style="margin-bottom:15px; text-transform:uppercase; font-weight:bold;">
- <a href="#">Tendências 2016</a>
- <div style="text-transform:none; font-style:italic; font-weight:normal;">By <a href="#">Carolaine</a></div></div>
- <div style="margin-bottom:0px; text-transform:uppercase; font-weight:bold;">
- <a href="#">Como delinear</a>
- <div style="text-transform:none; font-style:italic; font-weight:normal;">By <a href="#">Carolaine</a></div></div>
- </div>
- <div class="caixas">
- <div class="caixatitulo">
- <div class="gd" style="margin-left:100px;">Instagram</div>
- </div>
- <iframe src="http://widget.websta.me/in/jadepicon/?s=93&w=3&h=3&b=0&p=2&sb=off" allowtransparency="true" frameborder="0" scrolling="no" style="border:none;overflow:hidden;width:285px; height: 285px" ></iframe> <!-- websta - websta.me -->
- </div>
- <div class="caixas">
- <div class="caixatitulo">
- <div class="gd" style="margin-left:90px;">Twitter feed</div>
- </div>
- <a class="twitter-timeline" href="https://twitter.com/Carols_Vieira_" data-widget-id="718596702752653312">Tweets de @Carols_Vieira_</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- </div>
- <div class="caixas">
- <div class="caixatitulo">
- <div class="gd" style="margin-left:95px;">Publicidade</div>
- </div>
- <a href="publicidade url"><img src="http://i.imgur.com/xCYjYFN.png" /></a>
- </div>
- <div class="caixas">
- <div class="caixatitulo">
- <div class="gd" style="margin-left:95px;">Marcadores</div>
- </div>
- <div class="marcadores">
- <a href="#">Saias</a>
- <a href="#">DIY</a>
- <a href="#">#SQN</a>
- <a href="#">Maquiagem</a>
- <a href="#">Looks</a>
- <a href="#">Jóias</a>
- <a href="#">Tendências</a>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement