百叶窗
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="../../../../pubilc.css">
<style>
.box{width: 800px;overflow: hidden;}
.box ul{width: 1000px;display: flex;}
.box ul li{width: 160px;transition: all 1s;}
/* .box ul li img{width: 500px;height: 100px;} */
.box:hover li{width: 40px;}
.box:hover li:hover{width: 640px;}
</style>
</head>
<body>
<div class="box">
<ul>
<li><img src="./imgs/img1.jpg" alt=""></li>
<li><img src="./imgs/img2.jpg" alt=""></li>
<li><img src="./imgs/img3.jpg" alt=""></li>
<li><img src="./imgs/img4.jpg" alt=""></li>
<li><img src="./imgs/img5.jpg" alt=""></li>
</ul>
</div>
</body>
</html>
正方体
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{transform-style: preserve-3d;