Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (99 loc) · 1.85 KB
/
Copy pathstyle.css
File metadata and controls
104 lines (99 loc) · 1.85 KB
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;
}
body {
background-image: linear-gradient(120deg, rgb(209, 136, 0), rgb(235, 231, 0));
font-family: 'Poppins', sans-serif;
color: white;
min-height: 100vh;
}
header{
display: flex;
flex-direction: column;
}
header,
form {
min-height: 20vh;
display: flex;
justify-content: center;
align-items: center;
}
form input,
form button {
padding: 0.5rem;
font-size: 2rem;
border: none;
outline: none;
background: white;
}
form button{
color: rgb(209, 136, 0);
background: white;
cursor: pointer;
transition: all 0.5s ease;
}
form button:hover{
color:white;
background-color: rgb(209, 136, 0);
}
.todo-container{
display: flex;
justify-content: center;
align-items: center;
}
.todo-list{
min-width: 300px;
list-style: none;
}
.todo{
margin: 0.5rem;
background: white;
color:black;
font-size: 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.5s ease;
}
.todo li{
flex:1;
}
.complete-button{
background-color: green;
color:white;
padding: 1rem;
cursor:pointer;
border:none;
font-size: 1rem;
outline: none;
}
.trash-button{
background-color: rgb(209, 136, 0);
color:white;
padding: 1rem;
cursor:pointer;
border:none;
font-size: 1rem;
outline: none;
}
.trash-button:hover{
background-color:white;
color: rgb(209, 136, 0);
}
.todo-item{
padding:0rem 0.5rem;
}
.fa-trash, .fa-check{
pointer-events: none;
}
.completed{
text-decoration: line-through;
opacity: 0.5;
transition: all 0.5s ease;
}
.fall{
transform: translateY(8rem) rotateZ(20deg);
opacity: 0;
}