<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
.backtop {
position: fixed;
bottom: 100px;
right: 30px;
width: 60px;
height: 60px;
background-color: gray;
text-align: center;
line-height: 30px;
text-decoration: none;
font-size: 12px;
color: white;
}
</style>
</head>
<body>
<a href="#" class="backtop">返回<br />顶部</a>
<img src="images/0103-large.jpg" alt="">
<img src="images/0103-large.jpg" alt="">
</body>
</html>
4-11固定定位的用途返回顶部按钮
最新推荐文章于 2021-06-19 22:39:21 发布