@media (orientation: landscape) { #vr { width: 128vh; height: 72vh; } } @media (orientation: portrait) { #vr { width: 45vh; height: 80vh; } } a-scene { z-index: 0; } #sample-obj1 { display: none; } .e { display: none; } .lfloat{ float: left; margin: 0px 40px 40px 40px; } .clear{ clear: left; }