diff options
| author | Simon <vesspa0330@gmail.com> | 2025-10-06 22:56:34 -0400 |
|---|---|---|
| committer | Simon <vesspa0330@gmail.com> | 2025-10-06 22:56:34 -0400 |
| commit | d74a2bf1cb5899a1c26cf6bd7bd522fdc38eda14 (patch) | |
| tree | b38de360d2fae8560ca47a30476564cd0ca1bf0e | |
| parent | 658728ab21e84a97c4bd63d83b6fbb8bf2992d1b (diff) | |
centered faq
| -rw-r--r-- | css/style.css | 4 | ||||
| -rw-r--r-- | index.html | 18 |
2 files changed, 21 insertions, 1 deletions
diff --git a/css/style.css b/css/style.css index 2ff2011..1e0e264 100644 --- a/css/style.css +++ b/css/style.css @@ -75,6 +75,10 @@ main { } section { + display: flex; + flex-direction: column; + align-items: center; + max-width: 60%; margin-top: 5rem; padding: 1rem 1rem; @@ -114,15 +114,31 @@ <section id="FAQ"> <h1 style="margin-bottom: 2rem">FAQ</h1> + <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">BODY TEXT BIIIITCH!!!! 😝</div> + <div class="dropdown-body"> + this is where we answer the question in the header + </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> </main> |
