/* -*- coding: utf-8 -*- */ .UI { position: fixed; /*width: 50%; height: 50%;*/ background: #ffffff; left: 0px; top: 50%; } button{ width: 20%; height: 10%; position: fixed; z-index: 999999; } a-scene{ position: absolute; z-index: 0; }