-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
98 lines (93 loc) · 1.45 KB
/
style.css
File metadata and controls
98 lines (93 loc) · 1.45 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
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
*{
box-sizing: border-box;
}
body{
font-family: 'Roboto', sans-serif;
background: #1E90FF;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
margin: 25vh;
}
.container{
width: 550px;
background: white;
height: 400px;
padding: 10px 20px;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0,0,0.1);
position: relative;
}
#addTask{
width: 20px;
padding: 5px 6px;
width: 40px;
height: 40px;
background: green;
border-radius: 5px;
color: white;
border: none;
font-size: 28px;
text-align: center;
}
.error{
color: white;
background: red;
text-align: center;
font-size: 18px;
}
h2{
text-align: center;
font-size: 34px;
}
form{
position: relative;
}
form input{
width: 75%;
height: 100%;
padding-top: 10px;
border-bottom: 1px solid black;
border-top: none;
border-left: none;
outline: none;
}
form label{
position: absolute;
bottom: 0px;
}
form label::after{
content: "";
outline: none;
}
/*checkbox*/
.checkBox{
position: absolute;
left: -30px;
}
ul{
list-style-type: none;
}
li{
position: relative;
}
.delete{
font-size: 10px;
position: absolute;
right: 150px;
padding: 6px;
background: red;
color: white;
border-radius: 5px;
font-weight: bold;
}
ul li{
margin: 15px;
}
/* Add a "checked" mark when clicked on */
.checked{
position: absolute;
left: -26px;
}