阅读背景:

移动主菜单后悬停菜单问题

来源:互联网 

#header {
  height: 108px;
  width: 1140px;
  background-color: #faa220;
  position: relative;
}

#Logo2 {
  height: 108px;
  float: left;

}

#header links {
  height: 50px;
  float: left;
  list-style: none;
  padding-top: 10px;
}

#container {
  overflow: hidden;
  background-color: #faa220;
  font-family: Arial, Helvetica, sans-serif;
  position: absolute;
  bottom: 0;
  right: 215px;
}

.container a {
  float: left;
  font-size: 18px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  position: absolute;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  cursor: pointer;
  }

.container a:hover, .dropdown:hover .dropbtn {
  background-color: #faa220;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #faa220;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  position: absolute;
}

.dropdown-content a {
  float: none;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  position: absolute;
  bottom: 0;
}

.dropdown-content a:hover {
  background-color: #faa220;
  position: absolute;
  bottom: 0;
}

.dropdown:hover .dropdown-content {
  position: absolute;
  display: block;
  bottom: 0;
}#header {
  height: 108px;
  width:



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: