
.Design-Studio_menu {
text-align: right;
position: relative;
z-index: 1;
}
.Design-Studio_menu ul {
list-style: none;
display: inline-block;
padding: 0;
margin: 0;
}
.Design-Studio_menu>ul>li {
display: inline-block;
position: relative;
z-index: 1;
margin-right:22px;
}
.Design-Studio_menu>ul>li>a {
text-decoration: none;
position: relative;
display: block;
padding: 10px 0;
transition: .5s;
color: #272727;
font-size: 18px;
font-weight:bold;
}
nav.Design-Studio_menu span {
font-size: 11px;
}
.Design-Studio_menu ul .sub-menu {
position: absolute;
left: 0;
top: 130%;
width: 217px;
text-align: left;
background: #fff;
padding: 0;
margin: 0;
z-index: 1;
-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
transition: .5s;
visibility: hidden;
opacity: 0;
}
.Design-Studio_menu ul .sub-menu li {
position: relative;
}
.Design-Studio_menu ul .sub-menu li a {
text-decoration: none;
display: block;
padding: 12px 20px;
margin: 0;
line-height: 1.3;
letter-spacing: normal;
font-size: 16px;
font-weight: 500;
text-transform: capitalize;
-webkit-transition: .1s;
transition: .1s;
visibility: inherit !important;
color: #101210 !important;
}
.Design-Studio_menu ul li:hover>.sub-menu {
visibility: visible;
top: 100%;
opacity: 1;
}
<nav class="Design-Studio_menu">
<ul class="nav_scroll">
<li> <a href="#" title="Home">Home</a></li>
<li> <a href="#" title="Home">Company</a></li>
<li> <a href="#" title="Home">Product <span><i class="fa fa-chevron-down"></i></span></a>
<ul class="sub-menu">
<li class="">
<a href="#l" title="Bearings">Bearings</a>
</li>
</ul>
</li>
<li> <a href="#" title="Home">Service</a></li>
<li> <a href="#" title="Home">Success Stories</a></li>
</ul>
</nav>
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。