.transition_container { position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: auto; } .transition_slidein { position: absolute; top: 0; left: 0; animation-name: slidein; animation-duration: 0.3s; z-index: 64; } @keyframes slidein { from { left: 100%; } to { left: 0%; } }