-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css.css
More file actions
123 lines (109 loc) · 2.26 KB
/
index.css.css
File metadata and controls
123 lines (109 loc) · 2.26 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@300;400;600&display=swap');
body{
background: linear-gradient(135deg, #e6e6fa, #d8b6ff);
font-family: "Poppins",sans-serif ;
display: flex;
justify-content: center;
align-items: center;
height: 100hv;
margin: 0;
overflow: hidden;
}
body ::before{
content: "";
position: absolute;
width: 100%;
height: 100%;
background: url("https://i.imgur.com/7YOBtv7.png");
animation: sparkle 5s infinite linear;
opacity: 0.5;
pointer-events: none;
}
@keyframes sparkle {
0% {background-position: 0 0;}
100%{background-position: 200px 200px;}
}
.container {
background: white;
padding: 20px;
border-radius: 15px;
box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.2);
text-align: center;
animation: fadeIn 1s ease-in-out;
position: relative;
z-index: 2;
}
h1 {
font-family: "Pacifico", cursive;
color: #9370db;
}
.input{
display: flex;
gap: 10px;
}
input{
flex: 1;
padding: 10px;
border: 2px solid #b39ddb;
border-radius: 20px;
outline: none;
background: #f3e5f5;
color : #6a0dad;
}
button{
background: #9370db;
color: white;
border: none;
padding: 10px 15px;
border-radius: 20px;
cursor: pointer;
font-weight: bold;
transition: 0.3s;
}
button:hover {
background: #7b68ee;
transform: scale(1.05);
}
ul{
list-style: none;
padding: 0;
margin-top: 15px;
}
li {
background: #f8f2ff;
padding: 10px;
margin: 5px 0;
display: flex;
align-items: center;
justify-content: space-between;
border-radius: 15px;
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
transition: 0.3s ease-in-out;
}
li.completed {
text-decoration: line-through;
opacity: 0.6;
position: relative;
}
li.completed::after {
content: "💜";
position: absolute;
right: 10px;
animation: pop 0.4s ease-in-out;
}
@keyframes pop {
0% { transform: scale(0); opacity: 0;}
100% { transform: scale(1.5); opacity: 1;}
}
.delete-btn {
background: none;
border: none;
cursor : pointer;
color: #6a0dad;
font-size: 18px;
}
#clear-btn {
margin-top: 10px;
width: 100%;
border-radius: 20px;
}