<style>
*{
padding: 0;
margin: 0;
}
.pkBox{
width: 155px;
height: 219px;
margin: 200px auto;
position: relative;
}
.pkBox>img{
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
transition: transform 2s;
transform-origin: right top;
}
.pkBox:hover>img:nth-of-type(1){
transform: rotate(60deg);
}
.pkBox:hover>img:nth-of-type(2){
transform: rotate(120deg);
}
.pkBox:hover>img:nth-of-type(3){
transform: rotate(180deg);
}
.pkBox:hover>img:nth-of-type(4){
transform: rotate(240deg);
}
.pkBox:hover>img:nth-of-type(5){
transform: rotate(300deg);
}
.pkBox:hover>img:nth-of-type(6){
transform: rotate(360deg);
}
</style>
</head>
<body>
<div class="pkBox">
<img src="images/img/pk1.png" alt="">
<img src="images/img/pk2.png" alt="">
<img src="images/img/pk1.png" alt="">
<img src="images/img/pk2.png" alt="">
<img src="images/img/pk1.png" alt="">
<img src="images/img/pk2.png" alt="">
</div>
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步