点击x可以删除对应的li标签
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>lianxi1</title>
<style>
body, html ,ul{
padding: 0;
margin: 0;
}
ul{
width: 200px;
list-style: none;
/* border: 1px solid #333; */
}
div.wrapper{
width: 200px;
border: 1px solid #333;
margin: 10px auto;
}
div.title{
width: 200px;
height: 30px;
border-bottom: 1px solid #333;
text-align: center;
line-height: 30px;
}
ul li{
border-bottom: 1px solid