使用 CSS 更改鼠标指针悬停在某行上方时链接的颜色

cssweb developmentfront end technology更新于 2025/8/23 21:32:17

使用 :hover 类更改鼠标指针悬停在链接上方时链接的颜色。

示例

<html>
   <head>
      <style>
         a:hover {
            color: #FFCC00
         }
      </style>
   </head>
   <body>
      <a href = "">Bring Mouse Over Here</a>
   </body>
</html>

相关文章


有用资源