Created
August 30, 2017 06:47
-
-
Save ssudoku/1d46e4f692d633ed4ddcab4052001cdb to your computer and use it in GitHub Desktop.
css for the overlaying content
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.vr-container .vr-overlay-content { | |
position: absolute; | |
z-index: 1; // positions the content over the viewer | |
pointer-events: none; // this is important as it enables your interactions on the overlay to be detected by a-frame | |
} | |
.vr-overlay-content .action { | |
pointer-events: initial; // enables clicks on the button, which was disabled by pointer-events: none | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment