我怎么能隐藏在线下的线?

时间:2016-11-26 05:53:26

标签: html css

我有这个导航栏,当我将鼠标悬停在标签上时,结果为: when hover on

我试着这样做,但我不能: i need like this pic

menu-large-hover {
    position: static !important;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: none;
    cursor: pointer;
    text-decoration: underline;
}

1 个答案:

答案 0 :(得分:1)

在你的css

中添加/编辑以下类
 .menu-large-hover a#font-mega {
     background: #fff;
     z-index: 200000;
     padding: 16px 27px
}
    .navbar-nav > li {
    margin: 0 9px 0 0;
    height: 51px
}