我需要有条件地突出显示现有应用程序的菜单项。为了突出显示该项目,我为该特定项目使用了底部边框。但是已经有一个正在应用的填充并且突出显示的行需要在底部(附上图像以供参考)
.menulist {
background: white;
color: black;
font-family: 'Times New Roman', Times, serif;
transition: height .3s;
z-index: 9;
width: 100%;
}
.menulist .menulist-menu-bar {
display: flex;
align-items: center;
flex-wrap: wrap;
padding: 8px;
justify-content: flex-start;
position: relative;
justify-content: inherit;
}
.menulist .menulist_nav {
padding-left: 0;
list-style: none;
font-size: 14px;
line-height: 1.71;
font-weight: normal;
margin: 0;
display: flex;
flex-wrap: wrap;
align-content: center;
align-items: stretch;
height: 100%;
}
.menulist_bottom_border {
border-bottom: 2px solid;
border-color: gray;
margin-left: 20px;
}
<header class="menulist">
<div class="menulist-menu-bar">
<div>
<ul class="menulist_nav">
<div class="menulist_bottom_border">nav1</div>
<div>nav2</div>
<div>nav3</div>
</ul>
</div>
</div>
</header>
鸿蒙传说
白猪掌柜的
相关分类