Html
    Css
    Js

    
                        
 body {
	margin:0;
	padding:0;
	font-family:sans-serif;
}
div {
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	text-align:center;
	width:300px;
	height:100px;
	border:10px solid lightcoral;
	border-radius:20px;
	background:lightslategray;
}
p {
	width:200px;
	height:50px;
	font-size:20px;
	line-height:50px;
	margin:10px auto;
	text-align:center;
	border:1px solid lightskyblue;
	border-radius:20px;
	color:lightcyan;
	font-weight:700;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

js随机抽取姓名

更新时间:2020-03-08 11:04:15

0