Web Development, CSS.
圖層，利用「透視」，並把圖層做 Z 軸的位移，做出接近自然的視差滾動 header { perspective: 10px; } .screen-box { transform-style: preserve-3d; } #screen-z1 { z-index: 7; transform: translate3D(0,0,0px) scale(1); } #screen-z2 { z-index: 6; transform: translate3D(-1%,3%,-1px) scale(1.04); } #screen-z3 { z-index: 5; transform: