首先要注意翻页幅度大小,然后加上时间轴,非常简单的操作下面演示

css:

display: block;
padding-bottom: 89.453125%;
position: relative;
overflow: hidden;
border-radius: 5px;
transform-origin: top;
box-shadow: 0 3px 3px rgb(48 52 63 / 20%);
transition: transform .35s,background-color .1s ease .25s;

下一级css

position: absolute;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
transition: .35s;

伪态css

transform: translateY(-50px) rotateX(45deg);
opacity: .3;
transition: transform .35s,background-color .1s ease .25s;

专注一点,放眼未来。
感谢阅读,欢迎交流实践中的新发现。

交流与讨论 / 1

分享你的想法

您的邮箱地址不会被公开。 必填项已用 * 标注