<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
a:active{/*这里点击鼠标为何背景色没反应,把a:active改为#A1:active才有反应
或者下面的#A1给为a才有反应,为什么*/
background-color: #4075b0;
}
#A1{
float: left;
display: block;
background-color: #bbb;
padding:16px;
color: #fff;
text-decoration: none;
}
</style>
</head>
<body>
<a href="page1" id="A1">链接A</a>
<!-- <a href="step-visited.html" id="A_2">链接B</a> -->
</body>
</html>
业余奶茶品鉴师
慕斯卡3373845