| <!DOCTYPE html><html lang="en">
 <head>
 <meta charset="UTF-8" />
 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 <title>Document</title>
 </head>
 <style>
 * {
 margin: 0;
 padding: 0;
 }
 html {
 height: 100vh;
 overflow: hidden;
 }
 
 body {
 width: 100vw;
 height: 100vh;
 perspective: 1px;
 transform-style: preserve-3d;
 overflow: hidden;
 overflow-y: auto;
 }
 
 .section1,
 .section2,
 .section3,
 .section4 {
 position: relative;
 width: 100%;
 min-height: 100vh;
 transform-style: preserve-3d;
 }
 
 .section2,
 .section3,
 .section4 {
 background-color: orange;
 background: url(./ssr-html/img/13.jpeg) top center no-repeat;
 background-size: cover;
 }
 
 .section3 {
 background: url(./ssr-html/img/1.jpg) top center no-repeat;
 }
 
 .active {
 background: none;
 }
 .active::before {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 background: url(./ssr-html/img/1.jpg) top center;
 background-size: cover;
 transform: translateZ(-1px) scale(2.2);
 }
 
 span {
 top: 30%;
 left: 50%;
 transform: scale(1, 1.1) translate(-50%, 10%);
 position: absolute;
 font-size: 15vw;
 }
 </style>
 <body>
 <div class="section1 active">
 <span>1</span>
 </div>
 <div class="section2">
 <span>2</span>
 </div>
 </body>
 </html>
 
 
 |