-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
104 lines (102 loc) · 1.85 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
color: #fff;
}
body {
width: 100%;
height: 100vh;
background: linear-gradient(120deg, #0d1017, rgb(15, 50, 102));
display: flex;
justify-content: center;
align-items: center;
}
header {
font-size: 50px;
}
header,
form {
min-height: 20vh;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
button i {
color: #fff;
}
input {
border: 2px solid #32363e;
font-size: 12px;
outline: none;
border-radius: 7px;
padding: 7px 15px;
width: 100%;
background: #181b23;
height: 41px;
}
button.todo-button {
border: none;
outline: none;
padding: 9px 15px;
border-radius: 7px;
color: #fff;
cursor: pointer;
background: #181b23;
transition: 0.1s ease-in-out;
position: absolute;
right: 1px;
}
button.submit:hover {
background: #65a0f3;
/* border: 2px solid #39699d; */
}
.todo-container {
width: 100%;
}
.todo {
display: flex;
justify-content: space-between;
align-items: center;
min-width: 30%;
padding-left: 15px;
margin-bottom: 10px;
background: #fff;
transition: 1s ease-in-out;
}
li {
list-style: none;
font-size: 20px;
font-weight: bold;
color: #000;
flex: 1;
}
.delete-button,
.check-button {
outline: none;
border: none;
padding: 15px;
font-size: 20px;
cursor: pointer;
text-align: right;
}
.check-button {
background: rgb(11, 212, 162);
}
.delete-button {
background: #ff6f47;
margin-left: 15px;
}
.line-through {
text-decoration: line-through;
text-decoration-color: rgb(0 223 9);
text-decoration-thickness: 5px;
color: #00000080;
}
.delete-item {
transform: translateY(10rem) rotateZ(20deg);
opacity: 0;
animation: hide 2s ease-in-out;
}