我是用less语法设置了hover不生效,只有点击后才有效果
css吧
全部回复
仅看楼主
level 1
bottom: 1.2rem;
right: 0.2rem;
width: 5rem;
border-radius: 0.15rem;
background: linear-gradient(to bottom right,rgba(24,0,12,0.9),rgba(16,0,8,0.5));
p{
width: 90%;
margin-left:10% ;
height: 0.8rem;
font-size: .18rem;
font-weight: 650;
color: #fcff00;
line-height: 0.8rem;
border-bottom: 1px solid #222222;
&:hover{
color: white;
}
}
2019年01月11日 02点01分 1
level 4

2019年01月18日 07点01分 2
1