NVLKS

In this example below you will see how to do a NVLKS with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by RossC, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright RossC ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>NVLKS</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <div class="Superman">
  <a href="/" class="mainmenu">√ćndice</a>
  <a href="/" class="mainmenu">Buscar</a>
  <a href="/" class="mainmenu">Miembros</a>
  <a href="/" class="mainmenu">Grupos</a>
  <a href="/" class="mainmenu">Perfil</a>
  <a href="/" class="mainmenu">Registrarse</a>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/RossC/nvlks-deYLLX */
.Superman {
  width:100%;
  height:20px;
  background:#111;
  padding:20px;
}

a.mainmenu {
  color: #fff;
  font-family: calibri, sans-serif;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1.8;
  display:inline-block!important;
  margin: 0 10px;
  width: auto;
  position: relative;
  overflow: hidden;
  padding:2px 0;
  text-transform: uppercase;
  transition: color .6s cubic-bezier(0.11, 0.7, 0, 1);
}

a.mainmenu:hover {  
  color:#CF2034; 
  transition: 0.3s linear;
}

a.mainmenu:after {
  position: absolute;
  top: 90%;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #CF2034;
  content: "";
  border-bottom: 1px solid #000;
  transform: translate3d(-103%,0,0);
  transition: transform .6s cubic-bezier(0.11, 0.7, 0, 1);
}

a.mainmenu:hover:after {
  transform: translate3d(0,0,0);
}

Comments