.wrapper
 %ul
  %li
   %a{:href => "#"}
    %i{:class => "fa fa-shopping-cart"}
    %div Shopping
  %li.current
   %a{:href => "#"}
    %i{:class => "fa fa-calendar"}
    %div Calendar
  %li
   %a{:href => "#"}
    %i{:class => "fa fa-cloud-download"}
    %div Downloads
  %li
   %a{:href => "#"}
    %i{:class => "fa fa-tags"}
    %div Discount
  %li
   %a{:href => "#"}
    %i{:class => "fa fa-bar-chart"}
    %div Statistics
  %li
   %a{:href => "#"}
    %i{:class => "fa fa-bell"}
    %div Events
View Compiled
/*
 * Developer: Alex Eskandari
 * Designer: Mike (dribbble.com/creativemints)
 *
 * Distributed under the terms of the MIT license
 * https://opensource.org/licenses/MIT
 */

@redColor: red;
body {
    background-color: #1f0630;
    font-family: 'Open Sans', sans-serif;
}
ul {
    margin: 0;
    padding: 0;
    height: 118px;
    border-radius: 3px;
    background-color: #fff;
}
.wrapper {
    position: absolute;
    left: 50%;
    margin: 97px 0 0 -450px;
    width: 900px;
}
li {
    display: inline-block;
    /* Removes the default space between items */
    margin-right: -4px;
    width: 150px;
    text-align: center;
}
li:hover > a,
.current > a {
    color: @redColor;
}
.current {
    margin-top: -6px;
    border-top: 6px solid @redColor;
    border-bottom: 6px solid @redColor;
}
.current::before {
    display: block;
    margin: 0 auto -6px auto;
    width: 0;
    border-top: 6px solid @redColor;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    content: "";
}
a {
    display: block;
    box-sizing: border-box;
    padding-top: 19px;
    height: 118px;
    border-right: thin solid #e0e1db;
    text-decoration: none;
    font-size: 2.375em;
}
a,
a:visited {
    color: #848577;
}
li:last-of-type > a {
    border-right-style: none;
}
li div {
    margin-top: 5px;
    font-size: .813rem;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js