Html
    Css
    Js

    
                        
  body {
	background-color:yellowgreen;
}
.box {
	width:1000px;
	height:240px;
	/*background-color:aqua;
	*/
            margin:0 auto;
	margin-top:100px;
	clear:both;
}
#btn {
	width:100px;
	height:30px;
	margin-left:600px;
	margin-top:50px;
}
.name {
	width:100px;
	height:30px;
	float:left;
	background-color:antiquewhite;
	margin-left:10px;
	margin-top:10px;
	text-align:center;
	line-height:30px;
}
#span {
	float:right;
	position:relative;
	top:55px;
	right:185px;
}
h1 {
	text-align:center;
}

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

基于js的点名

0