-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (120 loc) · 1.97 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-image: linear-gradient(120deg, #d1b558, #d3856f);
color: white;
font-family: "poppins", sans-serif;
min-height: 100vh;
}
header {
font-size: 1.3rem;
}
header,
form {
min-height: 20vh;
display: flex;
justify-content: center;
align-items: center;
}
form input,
form button {
padding: 8px;
font-size: 16px;
border: none;
background: white;
}
form button{
color: #d3856f;
background: white;
cursor: pointer;
transition:all 0.4s ease;
}
form button:hover{
background: #d3856f ;
color: white;
}
.todo-container{
display: flex;
justify-content: center;
align-items: center;
}
.todo-list{
min-width: 30%;
list-style: none;
}
.todo{
margin: 8px;
background: white;
color: black;
font-size: 24px;
font-weight: bold;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.5s ease;
}
.todo li{
flex: 1;
}
.trash-btn,
.complete-btn{
background: #ff6f47;
color: white;
border: none;
padding: 16px;
cursor: pointer;
font-size: 16px;
}
.complete-btn{
background: rgb(73, 204, 73);
}
.todo-item{
padding: 0 8px;
}
.fa-trash,
.facheck{
pointer-events: none;
}
.completed{
text-decoration: line-through;
opacity: 0.5;
}
.fall{
transform: translateY(128px)rotateZ(20deg);
opacity: 0;
}
select{
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: none;
border: none;
}
.seLect{
margin: 16px;
position: relative;
overflow: hidden;
}
select{
color: #ff6f47;
width: 160px;
cursor: pointer;
padding: 16px;
}
.seLect::after{
content: "\25BC";
position: absolute;
background: #ff6f47;
top: 0;
right: 0;
padding: 16px;
pointer-events: none;
transition: all 0.3s ease;
}
.seLect:hover::after{
background: white;
color: #ff6f47;
}