-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (71 loc) · 1.23 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
body{
background-image: linear-gradient(120deg, #f6d365, #fda085);
color: white;
font-family: "Poppins", sans-serif;
min-height: 100vh;
}
header{
font-size: 1.5rem;
}
header,
form{
min-height: 5vh;
display: flex;
justify-content: center;
align-content: center;
}
form input,
form button {
padding: 0.5rem;
font-size: 2rem;
border: none;
background: white;
}
form button{
color: #d88771;
background: white;
cursor: pointer;
transition : all 0.3s ease;
}
form button:hover {
background:#d88771;
color: white;
}
.todo-container{
display: flex;
justify-content: center;
align-items: center;
}
.todo-list{
min-width: 20%;
list-style: none;
justify-content: center;
align-items: center;
padding-right: 40px;
}
.todo{
margin: 0.5rem;
background: white;
color:black;
font-size: 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.todo li{
flex:1;
}
.complete-btn, .delete-btn{
background: #ff6f47;
color:white;
border:none;
padding: 1rem;
cursor: pointer;
}
.complete-btn{
background: green;
}
.completed {
text-decoration: line-through;
opacity : 0.5;
}