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
<div class="cube"> | |
<div class="front"></div> | |
<div class="back"></div> | |
<div class="right"></div> | |
<div class="left"></div> | |
<div class="top"></div> | |
<div class="bottom"></div> | |
</div> |
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
<div class="background"> | |
<div class="shield"> | |
★ | |
</div> | |
</div> |
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
function getUrlParameterMap() { | |
var queryString = location.search.replace(/^[?]/, ''); | |
var params = '{' + queryString.split('&').map(function (val) { | |
var valArr = val.split('='); | |
return '\"' + valArr[0] + '\" : \"' + (valArr[1] || '') + '\"'; | |
}).join(',') + '}'; | |
var paramJSONFormat; | |
try { | |
paramJSONFormat = JSON.parse(params); | |
}catch(e) { |
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
.modal { | |
background: #000; | |
width: 500px; | |
height: 100px; | |
transform: scale(0.7) ; | |
left: 0; | |
top: 0; | |
opacity: 0; | |
visibility: hidden; | |
position: fixed; |
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
body { | |
margin: 0; | |
} | |
.scroll-container { | |
width:500px; | |
height:500px; | |
overflow:hidden; | |
} |