<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
}
.about-r {
flex: 1;
width: 500px;
margin: 100px auto;
cursor: pointer;
}
.img-box {
position: relative;
width: 100%;
}
.img-box img {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.about-r .img-box {
padding-bottom: 81%;
}
.about-r .peo-img {
width: 100%;
height: 100%;
border-radius: 66% 57% 42% 53%;
transform: scale(0.9);
}
</style>
</head>
<body>
<div class="about-r">
<div class="img-box">
<img src
js跟随鼠标hover效果
最新推荐文章于 2024-04-16 19:44:59 发布