.wc-container { position: relative; width: 100vw; height: 100vh; } .wc-canvas { display: none; position: absolute; width: 375px; height: 200px; z-index: -1; } .wc-main { position: relative; width: 100%; height: 100%; margin-left: -34%; margin-top: -50px; } .wc-item { white-space: nowrap; position: absolute; display: block; transform-origin: 50% 40%; }