forked from ankit071105/Ticket-Booking
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfaq.css
92 lines (80 loc) · 1.59 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
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
.faq-container {
padding: 50px;
max-width: 800px;
margin: 0 auto;
background-color: #f7f7f7;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Title styling */
.faq-title {
text-align: center;
font-size: 2.5rem;
color: #333;
margin-bottom: 30px;
}
/* Accordion styling */
.accordion {
margin-bottom: 15px;
}
.FAQ-title {
display: flex;
justify-content: space-between;
background-color: #1fb899;
color: #fff;
padding: 15px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.FAQ-title:hover {
background-color: #17a38b;
}
.faqQuestion{
margin-top: 20px;
}
/* Toggle button styling */
.expandToggle {
background-color: #fff;
color: #1fb899;
padding: 0.0175rem 2.0rem;
border-radius: 50%;
font-weight: bold;
font-size: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
transition: background-color 0.3s ease;
}
.expandToggle:hover {
background-color: #f7f7f7;
}
/* FAQ content hidden by default */
.FAQ-content {
display: none;
background-color: #e7f8f3;
padding: 15px 20px;
border-radius: 5px;
margin-top: 10px;
color: #333;
font-size: 1rem;
line-height: 1.6;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
=======
.FAQ-content {
display: none; /* Ensure FAQ content is hidden by default */
}
.expandToggle {
cursor: pointer; /* Change cursor to pointer for toggle */
}
.accordion{
background-color: aliceblue;
}
.expandToggle{
background-color: #1fb899;
color: white;
padding: 10px 20px;
border-radius: 5px;
margin-top: 10px;
display: inline-block;
}