<!doctype html>
<html>
<head>
<style>
div{width:300px;height:300px;border-radius:50%;overflow:hidden;position:relative;}
div img{width:100%;height:100%;}
div span{position:absolute;left:0;top:0;width:100%;height:100%; border-color:black; border-style:solid;border-width:150px;box-sizing:border-box;border-radius:50%;opacity:0.6;}
div span{-webkit-transition:border 1s;}
div:hover span{border-width:0;}
</style>
<meta charset="UTF-8">
<title>圆形收缩显示图像效果</title>
</head>
<body>
<div>
<img src="head.jpg">
<span></span>
</div>
</body>
</html>
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有