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 祝福语简短七夕