源码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style>
* {
margin: 0;
padding: 0;
}
body{
background-color: blue;
}
.con {
width: 300px;
height: 500px;
background-color: rgba(230, 246, 251, 0.9);
border-radius: 14px;
}
ul {
display: flex;
flex-direction: column;
height: 100%;
}
li {
flex: 1;
display: flex;
align-items: center;
border: 1px solid #eee;
box-sizing: border-box;
padding-left: 40px;
position: relative;
}
li:first-chil