Advertisement
azmil_syaifulloh

style.css

Aug 21st, 2018
657
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.91 KB | None | 0 0
  1. #nav{
  2.  width: auto;
  3.  height: 60px;
  4.  float: left;
  5.  height: 60px;
  6.  margin: auto;
  7.  background-image: -webkit-linear-gradient(bottom, #fff, #B2B2B2, #fff);
  8. }
  9. #nav ul{
  10.  list-style: none;
  11.  display: inline-table;
  12.  position: relative;
  13.  padding: 0 20px;
  14.  background-image: -webkit-linear-gradient(left, #000, #171717);
  15. }
  16. #nav ul li:hover > ul{
  17.  display: block;
  18. }
  19. #nav ul:after{
  20.  content: "";
  21.  clear: both;
  22.  display: block;
  23. }
  24. #nav ul li{
  25.  float: left;
  26. }
  27. #nav ul li a, #nav ul li span{
  28.  padding: 20px;
  29.  text-decoration: none;
  30.  color: #fff;
  31.  display: block;
  32. }
  33. #nav ul ul{
  34.  background: #000; border-radius: 0px; padding: 0;
  35.   position: absolute; top: 100%;
  36.   display: none;
  37. }
  38. #nav ul ul li{
  39.  float: none;
  40.  border-top: 1px solid #53bd84;
  41.  border-bottom: 1px solid #53bd84;
  42.  position: relative;
  43. }
  44. #nav ul ul li a{
  45.  padding: 15px 40px;
  46. }
  47. #nav ul ul ul{
  48.  position: absolute;
  49.  left: 100%;
  50.  top: 0;
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement