CSS的作用:悬停选择器
使用CSS:hover选择器可在鼠标悬停时使用CSS设置样式。您可以尝试运行以下代码来实现:hover选择器-
示例
<!DOCTYPE html>
<html>
<head>
<style>
a:hover {
background-color: orange;
}
</style>
</head>
<body>
<a href = "https://www.qries.com">Qries</a>
<p>Keep the mouse cursor on the above link and see the effect.</p>
</body>
</html>热门推荐
10 关于扬州的祝福语简短
11 年底老板祝福语简短的
12 对别人新年祝福语简短
13 秋分祝福语简短文案
14 新老师祝福语 简短独特
15 简短创意祝福语有什么
16 员工对同事祝福语简短
17 恭喜订婚的祝福语简短
18 考试祝福语简短给对象