summaryrefslogtreecommitdiff
path: root/dropdown.css
diff options
context:
space:
mode:
authorsotrali <vesspa0330@gmail.com>2025-09-23 18:44:54 -0400
committersotrali <vesspa0330@gmail.com>2025-09-23 18:44:54 -0400
commit5d077760516036c4156e680f5e96eba27b1ea6c5 (patch)
tree0764e04ceed45fa891d9128f1ee7e46fd7803267 /dropdown.css
parentda32526da62139dea11fbe2d4489c9e0918f17bc (diff)
split hamburger/dropdown css out- nicer looking index
Diffstat (limited to 'dropdown.css')
-rw-r--r--dropdown.css40
1 files changed, 40 insertions, 0 deletions
diff --git a/dropdown.css b/dropdown.css
new file mode 100644
index 0000000..c6d7d33
--- /dev/null
+++ b/dropdown.css
@@ -0,0 +1,40 @@
+/** DROP DOWN MENU CSS */
+.dropdown {
+ width: 300px;
+}
+
+.dropdown-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 10px;
+ border: 1px solid var(--gold);
+ cursor: pointer;
+}
+
+.dropdown-arrow {
+ transition: transform 0.3s ease;
+}
+
+.dropdown-arrow.open {
+ transform: rotate(180deg);
+}
+
+.dropdown-content {
+ overflow: hidden;
+ max-height: 0;
+
+ transition: max-height 0.3s ease;
+
+ border-left: 1px solid var(--gold);
+ border-right: 1px solid var(--gold);
+ border-bottom: 1px solid var(--gold);
+}
+
+.dropdown-content.open {
+ max-height: 300px;
+}
+
+.dropdown-body {
+ padding: 10px;
+}