SOURCE

console 命令行工具 X clear

                    
>
console
<div id="app">
    <div class="one">one</div>
    <div class="two">two</div>
    <div class="three">three</div>
</div>
 html {
        overflow: hidden;
        height: 100%
    }

    body {
        /* 视差元素的父级需要3D视角 */
        perspective:1px;
        transform-style: preserve-3d; 
        perspective-origin:20px;
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    #app{
        position:relative;
        top: 500px;
        transform-style: preserve-3d; 
        width: 100vw;
        height:200vh;
    }
    .one{
        position:absolute;
        top: 0px;
        width:500px;
        height:200px;
        background:#409eff;
        transform: translateZ(0px);
        mask-image: radial-gradient(
            rgba(0,0,0,.0) 150px,rgba(0,0,0,1) 151px,rgba(0,0,0,0) 300px
        );
    }
    .two{
        position:absolute;
        top: -10%;
        width:500px;
        height:200px;
        background:#67c23a;
        transform: translateZ(-1px) scale(2);

    }
    .three{
        position:absolute;
        top: -10%;
        right: -50%;
        width:500px;
        height:200px;
        background:#e6a23c;
        transform: translateZ(-2px) scale(3);

    }