* { box-sizing: border-box; } .scene { position: relative; width: 15%; height: calc(100% - 40px); margin: 0px auto; } .carousel { width: 100%; height: 100%; position: absolute; transform: translateZ(-288px); /*transform: translateZ(-288px);*/ transform-style: preserve-3d; transition: transform 1s; } .carousel__cell { position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; line-height: 116px; font-size: 80px; font-weight: bold; color: white; transition: transform 1s, opacity 1s; } .carousel-options { text-align: center; position: relative; height: var(--dimension_button_width_height); z-index: 2; background: hsla(0, 0%, 100%, 0.8); }