写一个非常简单的石头剪刀游戏。我需要它来揭示计算机选择,因此用户在做出选择之前就知道了。我还需要关闭循环中的区分大小写。有人可以帮帮我吗?
#fullpage {
background-attachment: fixed;
background-repeat: no-repeat;
}
<div id="fullpage">
<video autoplay loop muted id="myVideo">
<source src="video/empty.mp4" type="video/mp4">
<source src="video/empty.webm" type="video/webm">
</video>
</div>
#myVideo{
position: fixed;
right: 0;
bottom: 0;
top:0;
right:0;
width: 100%;
height: 100%;
background-size: 100% 100%;
background-color: black;
background-image: /* our video */;
background-position: center ;
background-size: cover;
object-fit: cover;
z-index: -1;
overflow: hidden
}