0
我想强调悬停页面按钮。 我该如何将这些代码调整到我的博客页面列表中?动画下划线导航菜单博客
.top-nav .PageList {
list-style: none;
padding: 0;
& > li {
display: inline-block;
& ~ li {
margin-left: 1em;
}
}
a {
color: #666;
text-decoration: none;
&:focus,
&:hover {
color: #CF000F;
&:after {
opacity: 1;
width: 100%;
}
}
&:after {
margin: 0 auto;
content: '';
display: block;
border-top: 1px solid;
border-top-color: inherit;
width: 0%;
opacity: 0;
transition: .25s;
这里是我的博客
https://ubuntuvpssupport.blogspot.com