Custom enter-vr button

This commit is contained in:
Diego Marcos
2018-10-10 22:12:17 -10:00
parent d639e84309
commit 96c6f4f642
7 changed files with 93 additions and 1 deletions

24
src/style.css Normal file
View File

@@ -0,0 +1,24 @@
#vrButton {
position: absolute;
background: url(../assets/img/enter-vr-button-background.png) no-repeat;
background-size: cover;
border: 0;
cursor: pointer;
right: 20px;
bottom: 20px;
z-index: 9999999;
width: 84px;
height: 47px;
}
#vrButton.a-hidden {
visibility: hidden;
}
#vrButton:active {
border: 0;
}
#vrButton:hover {
background-position: 0 -50.5px;
}