daily pastebin goal
47%
SHARE
TWEET

main nav fix

a guest Aug 17th, 2018 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .main-nav {
  2.     a {
  3.         color: $color-primary;
  4.         text-transform: uppercase;
  5.         padding: .8rem .9rem;
  6.         letter-spacing: 1px;
  7.  
  8.  
  9.         &:hover {
  10.             font-weight: 300;
  11.             background-color: transparent;
  12.         }
  13.  
  14. //  ?
  15.     a::after {
  16.         display: block;
  17.         content: attr(title);
  18.         font-weight: bold;
  19.         height: 0;
  20.         overflow: hidden;
  21.         visibility: hidden;
  22.     }
  23. }
  24.  
  25.  
  26. .active {
  27.     border: 1px solid $color-orange;
  28. }
  29.  
  30.  
  31. .nav > li > a:hover, .nav > li > a:focus {
  32.     background-color: transparent;
  33. }
  34.  
  35.  
  36. .navbar-wrapper {
  37.     padding-left: 3rem;
  38. }//a
  39. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top