@media (orientation: landscape) { #vr { margin-top: 50px; width: 95vw; height: 70vh; } } @media (orientation: portrait) { #vr { margin-top: 50px; width: 95vw; height: 70vh; } } a-scene { z-index: 0; } #sample-obj1{ display:none; } .e{display:none;}