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