Html
    Css
    Js

    
                        
* {
	padding:0px;
	margin:0px;
	text-decoration:none;
}
#vote {
	margin:50px;
	border:2px solid #80ABD7;
	font-size:12px;
	padding-bottom:20px;
}
#vote .top {
	line-height:30px;
	background-color:#80ABD7;
	color:white;
	padding-left:10px;
}
#vote #bottom {
	margin-left:60px;
	padding:15px 0px 15px 0px;
}
#vote #button {
	margin-left:60px;
}
#vote #button button {
	padding:3px 13px;
	background-color:#4A6991;
	color:white;
	font-weight:bold;
	border:none;
	border-radius:4px;
}
#vote #button a {
	font-size:12px;
	margin-left:10px;
}
#vote #bottom .div {
	margin-top:15px;
}

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

原生JS实现投票列表选项增删

使用原生JS实现投票列表的增加与删除!

0