File tree 1 file changed +98
-0
lines changed
1 file changed +98
-0
lines changed Original file line number Diff line number Diff line change
1
+ * {
2
+ margin : 0 ;
3
+ padding : 0 ;
4
+ font-family : 'Poppins' , sans-serif;
5
+ box-sizing : border-box;
6
+ }
7
+ .container {
8
+ width : 100% ;
9
+ min-height : 100vh ;
10
+ background : linear-gradient (135deg , # 153677 , # 4e085f );
11
+ padding : 10px ;
12
+ }
13
+ .todo-app {
14
+ width : 100% ;
15
+ max-width : 540px ;
16
+ background : # fff ;
17
+ margin : 100px auto 20px ;
18
+ padding : 40px 30px 70px ;
19
+ border-radius : 10px ;
20
+ }
21
+ .todo-app h2 {
22
+ color : # 002765 ;
23
+ display : flex;
24
+ align-items : center;
25
+ margin-bottom : 20px ;
26
+ }
27
+ .todo-app h2 img {
28
+ width : 30px ;
29
+ margin-left : 10px ;
30
+ }
31
+
32
+ .row {
33
+ display : flex;
34
+ align-items : center;
35
+ justify-content : space-between;
36
+ background : # edeef0 ;
37
+ border-radius : 30px ;
38
+ padding-left : 20px ;
39
+ margin-bottom : 25px ;
40
+ }
41
+
42
+ input {
43
+ flex : 1 ;
44
+ border : none;
45
+ outline : none;
46
+ background : transparent;
47
+ padding : 10px ;
48
+ font-weight : 14px ;
49
+ }
50
+ button {
51
+ border : none;
52
+ outline : none;
53
+ padding : 16px 50px ;
54
+ background : # ff5945 ;
55
+ color : # fff ;
56
+
57
+ font-size : 16px ;
58
+ border-radius : 30px ;
59
+ cursor : pointer;
60
+
61
+ }
62
+ ul li {
63
+ list-style : none;
64
+ font-size : 17px ;
65
+ padding : 12px 8px 12px 50px ;
66
+ user-select : none;
67
+ cursor : pointer;
68
+ position : relative;
69
+
70
+ }
71
+ ul li ::before {
72
+ content : '' ;
73
+ position : absolute;
74
+ height : 28px ;
75
+ width : 28px ;
76
+ border-radius : 50% ;
77
+ background-image : url (images/unchecked.png);
78
+ background-size : cover;
79
+ background-position : center;
80
+ top : 12px ;
81
+ left : 8px ;
82
+ }
83
+ ul li .checked {
84
+ color : # 555 ;
85
+ text-decoration : line-through;
86
+ }
87
+
88
+ ul li .checked ::before {
89
+ background-image : url (images/checked.png);
90
+ }
91
+
92
+ span .close {
93
+ margin-left : 10px ;
94
+ color : red;
95
+ cursor : pointer;
96
+ font-size : 20px ;
97
+ font-weight : bold;
98
+ }
You can’t perform that action at this time.
0 commit comments