-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
51 lines (48 loc) · 844 Bytes
/
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
:root{
--width : 8rem;
}
body{
height: 100vh;
width: 100vw;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
li{
border: solid;
border-radius: 3px;
border-width: 1px;
width: var(--width);
padding-inline: 10px;
list-style-type: none;
animation: come-down .5s;
}
ul{
padding: 0 !important;
margin: 0 !important;
height: 6rem;
overflow: auto;
}
div{
border: solid;
border-radius: 3px;
border-width: 1px;
width: var(--width);
padding-inline: 10px;
display: flex;
justify-content: space-between;
}
i{
cursor: pointer;
text-align: end;
margin-top: 5px;
}
@keyframes come-down {
from{
transform: translateY(-10px);
}to{
transform: translateX();
}
}