centered faq
This commit is contained in:
@@ -75,6 +75,10 @@ main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
max-width: 60%;
|
max-width: 60%;
|
||||||
margin-top: 5rem;
|
margin-top: 5rem;
|
||||||
padding: 1rem 1rem;
|
padding: 1rem 1rem;
|
||||||
|
|||||||
+17
-1
@@ -114,15 +114,31 @@
|
|||||||
|
|
||||||
<section id="FAQ">
|
<section id="FAQ">
|
||||||
<h1 style="margin-bottom: 2rem">FAQ</h1>
|
<h1 style="margin-bottom: 2rem">FAQ</h1>
|
||||||
|
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<div class="dropdown-header" onclick="toggleDropdown(this)">
|
<div class="dropdown-header" onclick="toggleDropdown(this)">
|
||||||
<span>HEADER</span>
|
<span>HEADER</span>
|
||||||
<span class="dropdown-arrow">▼</span>
|
<span class="dropdown-arrow">▼</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
<div class="dropdown-body">BODY TEXT BIIIITCH!!!! 😝</div>
|
<div class="dropdown-body">
|
||||||
|
this is where we answer the question in the header
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="dropdown">
|
||||||
|
<div class="dropdown-header" onclick="toggleDropdown(this)">
|
||||||
|
<span>HEADER</span>
|
||||||
|
<span class="dropdown-arrow">▼</span>
|
||||||
|
</div>
|
||||||
|
<div class="dropdown-content">
|
||||||
|
<div class="dropdown-body">
|
||||||
|
this is where we answer the question in the header
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user