<button class="download"></botton>
加入botton默认带边框颜色,如图所示
设置了border:none;后还是存在
后面发现默认样式是设置在了button::after{}伪类样式里面,所以即使设置边框为none还是存在,需要增加css为如下即可:
button::after{
border:none;
}
<button class="download"></botton>
加入botton默认带边框颜色,如图所示
设置了border:none;后还是存在
后面发现默认样式是设置在了button::after{}伪类样式里面,所以即使设置边框为none还是存在,需要增加css为如下即可:
button::after{
border:none;
}
转载于:https://my.oschina.net/lemonfive/blog/1818230