html
<a href=""> <img src="https://b.xn--xu0a.cn/favicon.ico" class="sxyx" title="刷新"></a>
css
.sxyx {
width: 36px;
left: 0;
top: 0;
position: fixed;
border-radius: 50%;
float: right;
margin: 20px 30px;
cursor: pointer;
z-index: 100;
}
源码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style type="text/css" >
.sxyx {
width: 36px;
left: 0;
top: 0;
position: fixed;
border-radius: 50%;
float: right;
margin: 20px 30px;
cursor: pointer;
z-index: 100;
}
</style>
</head>
<body>
<a href=""> <img src="https://b.xn--xu0a.cn/favicon.ico" class="sxyx" title="刷新"></a>
</body>
</html>
示例
左上角多了个图片,点击图片刷新