parent
02e02a69f7
commit
412dda9e60
@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<style>
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body{
|
||||
background:linear-gradient(to right, #8cbdf1, #abffe4); ;
|
||||
}
|
||||
.box1{
|
||||
width:98%;
|
||||
height: 500px;
|
||||
background-color: aliceblue;
|
||||
border-radius: 50px;
|
||||
margin-top: 40px;
|
||||
margin-left: 1%;
|
||||
padding-top: 20px;
|
||||
}
|
||||
.box1 .text_box1{
|
||||
text-align: center;
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.box1 .input_box1{
|
||||
display: flex;
|
||||
margin:20px 0 30px 150px;
|
||||
}
|
||||
.box1 .input_box1 .box1_input{
|
||||
width: 60%;
|
||||
height: 50px;
|
||||
border-radius: 20px 0 0 20px;
|
||||
border: 1px solid #000;
|
||||
outline: none;
|
||||
padding-left: 20px;
|
||||
border: none;
|
||||
}
|
||||
.box1 .input_box1 .input_box1_box1{
|
||||
background: linear-gradient(to right, #8cbdf1, #abffe4);
|
||||
border-radius: 0 20px 20px 0;
|
||||
height: 52px;
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
line-height: 50px;
|
||||
color: #ffffff;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
}
|
||||
.box2_input_div1{
|
||||
color: rgb(247, 16, 16);
|
||||
font-weight: 700;
|
||||
font-size: 10px;
|
||||
}
|
||||
.box2{
|
||||
display: flex;
|
||||
height: 50px;
|
||||
width: 80%;
|
||||
background-color: #ffffff;
|
||||
border-radius: 20px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding:20px;
|
||||
margin: 8px auto;
|
||||
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
|
||||
|
||||
|
||||
}
|
||||
.box2_1{
|
||||
opacity:0.4;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="box1">
|
||||
<div class="text_box1">App</div>
|
||||
<div class="input_box1">
|
||||
<input class="box1_input" type="text" placeholder="请输入用户名">
|
||||
<div class="input_box1_box1">确定</div>
|
||||
</div>
|
||||
<div class="box2 box2_1">
|
||||
<div style="display: flex;">
|
||||
<input class="box2_input" type="checkbox">
|
||||
<span>吃饭</span>
|
||||
</div>
|
||||
<div class="box2_input_div1">del</div>
|
||||
</div>
|
||||
<div class="box2">
|
||||
<div style="display: flex;">
|
||||
<input class="box2_input" type="checkbox">
|
||||
<span>喝水</span>
|
||||
</div>
|
||||
<div class="box2_input_div1">del</div>
|
||||
</div>
|
||||
<div class="box2">
|
||||
<div style="display: flex;">
|
||||
<input class="box2_input" type="checkbox">
|
||||
<span>跳舞</span>
|
||||
</div>
|
||||
<div class="box2_input_div1">del</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue