1. 使用絕對定位和偽元素
<div style="position: absolute; top: 50px; left: 50px;">
</div>
a:link {
color: #BFEFFF;
text-decoration: none;
a:visited {
color: #BFEFFF;
text-decoration: none;
a:hover {
background-color: #FFA500;
a:link {
display: inline-block;
width: 16px;
height: 16px;
font-size: 12px;
font-weight: bold;
text-decoration: none;
a:visited {
display: inline-block;
width: 16px;
height: 16px;
font-size: 12px;
font-weight: bold;
text-decoration: none;
a:hover {
display: inline-block;
width: 16px;
height: 16px;
font-size: 12px;
font-weight: bold;
text-decoration: underline;
上一篇css初始化什么意思
下一篇css文本框加下劃線向上