小编use*_*171的帖子

HTML样式个人悬停颜色

<html>
    <body>
        <a href="test.html" style="{color: blue; background: white} :visited {color: red} :hover {background: red} :visited:hover {color: red}">
            Test
        </a>
    </body>
</html>
Run Code Online (Sandbox Code Playgroud)

为什么不能设置这种hover属性?

html css

0
推荐指数
1
解决办法
433
查看次数

标签 统计

css ×1

html ×1