-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.css
66 lines (66 loc) · 1.15 KB
/
faq.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
h2~p{
text-align: center;
margin-block-end: 3em;
}
.plus{
width:24px;
height: 24px;
background-color: aqua;
border-radius: 50%;
margin-inline-start: 2em;
position: relative;
}
.plus::after{
content: '+';
position: absolute;
font-size: 2rem;
bottom: -37%;
left: 5%;
}
.minus{
width:24px;
height: 24px;
background-color: aqua;
border-radius: 50%;
margin-inline-start: 2em;
position: relative;
}
.minus::after{
content: '-';
position: absolute;
font-size: 2rem;
bottom: -37%;
left: 20%;
}
.faq{
margin-inline: 5%;
background-color: aliceblue;
display: flex;
padding-block: 1em;
cursor: pointer;
}
.question{
margin-inline-start: 2em;
font-weight: 700;
}
.answer{
font-weight: 300;
margin-inline-start: 5em;
}
.faqa{
margin-inline: 5%;
background-color: aliceblue;
padding-block-start: .5em;
padding-block-end: 1em;
transform-origin: top;
transition-property: scale;
transition-duration: .2s;
transition-timing-function: ease-in-out;
scale:0 0;
}
.original{
scale:1;
}
.container{
margin-block-end: .1em;
}