aytdev

navbar bottom style

Jul 20th, 2021
430
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.21 KB | None | 0 0
  1. .nav ul li a::before{
  2.     content: '';
  3.     position: absolute;
  4.     top: 100%;
  5.     left: 0;
  6.     height: 2px;
  7.     background: white;
  8.     transition: all 0.3s linear;
  9.     width: 0%;
  10. }
  11. .nav ul li a:hover::before{
  12.     width: 100%;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment