这是什么代码:插入一个链接。当鼠标结束时,链接字体变为粗体和下划线,当鼠标移出时,它会返回初始形式
答案 0 :(得分:0)
仅使用CSS:
a:hover {
font-weight: bold;
text-decoration: underline;
}
答案 1 :(得分:0)
您可以更改hover
上的字体,当鼠标输出时,它将恢复原来的字体
a:hover{
font-weight:600;
text-decoration: underline;
color:#000;
}