-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
89 lines (83 loc) · 1.61 KB
/
index.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
78
79
80
81
82
83
84
85
86
87
88
89
body {
margin: 0;
padding: 10px;
font-family: Arial, Helvetica, sans-serif;
min-width: 400px;
}
input {
width: 100%;
padding: 10px;
box-sizing: border-box;
border: 1px solid #5f9341;
margin-bottom: 4px;
}
button {
background: #5f9341;
color: white;
padding: 10px 20px;
border: 1px solid #5f9341;
font-weight: bold;
box-shadow: 3px 4px 5px rgb(216, 202, 207);
border-radius: 5px;
position: relative;
cursor: pointer;
}
button:active{
box-shadow: inset 5px 5px 10px -3px rgba(0, 0, 0, 0.7);
}
#delete-btn{
background: white;
color: #5f9341;
}
#delete-btn::before,
#delete-btn::after{
--scale: 0 ;
position: absolute;
top: -0.25rem;
top: -100%;
transform: translateX(120%) translateX(-100%) scale(var(--scale));
}
#delete-btn::before{
content: attr(data-delete);
padding: 5px;
width: max-content;
max-width: 100%;
background: #333;
color: white;
border-radius: 5px;
}
#delete-btn:hover::before{
--scale: 1;
}
ul {
margin-top: 20px;
list-style: none;
padding-left: 0;
}
li {
margin-top: 5px;
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 15px;
}
a {
color: #5f9341;
}
span{
background-color: pink;
color: palevioletred;
padding: 3px 7px;
cursor: pointer;
box-shadow: 0 2px 2px rgb(216, 202, 207);
border-radius: 35px;
transition: color 250ms, padding 250ms , box-shadow 250ms;
}
span:hover{
color: red;
padding: 6px 9px;
}
span:active{
box-shadow: inset 2px -3px 3px -1px rgba(68, 64, 64, 0.7);
}
}