年会抽奖

蹲街弑〆低调 提交于 2019-12-14 09:04:15
.c{
				margin: auto;
				height: 200px;
				width: 600px;
				border: 1px dashed black;
			}
			h1{
				color: blue;
				text-align: center;
				line-height: 100px;
				font-size: 80px;
			}
			.btn{
				margin: auto;
				height: 100px;
				width: 600px;
				/* border: 1px solid; */
				text-align: center;
				margin-top: 20px;
			}

| `


年会抽奖







<script type="text/javascript">
	var people = ['一','二','张三','李四','王五','六','七','八','九','十','十一','十二'];
	var sti = null;
	function start(){
		sti = setInterval(function(){
			var name = people[Math.ceil(Math.random()*10)];
			document.getElementById("text").innerText = name;
		},100)
	}
	function stop(){
		 clearInterval(sti);
	}
</script>
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!