img{
width:55px;
height:55px;
opacity: 0.8;
border-width: 1px;
border-style: solid;
border-color: pink;
border-radius: 50%;
vertical-align:top;
}
a{
float: right;
display: block;
position:fixed;
bottom: 0px;
right: 50%;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<a href="#top" target="_self" title="回到顶部"><img src="./ball.png" alt=""></a>
(lorem+br)*20
</body>
</html>
回到页面底部
最新推荐文章于 2023-03-29 23:21:31 发布