Content for section 1. Add as much text as you like here.
+From c7003f67a797edf04e36d8861aeefa03ced6bf23 Mon Sep 17 00:00:00 2001 From: Kavana M A <153212099+kavana185@users.noreply.github.com> Date: Fri, 17 Oct 2025 19:44:26 +0530 Subject: [PATCH] Add files via upload --- css-accordion/README.md | 24 +++++++++++++++++++ css-accordion/idex.html | 31 ++++++++++++++++++++++++ css-accordion/style.css | 53 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 108 insertions(+) create mode 100644 css-accordion/README.md create mode 100644 css-accordion/idex.html create mode 100644 css-accordion/style.css diff --git a/css-accordion/README.md b/css-accordion/README.md new file mode 100644 index 00000000..48a85ee2 --- /dev/null +++ b/css-accordion/README.md @@ -0,0 +1,24 @@ +# CSS-Only Accordion + +A fully functional accordion (collapsible sections) built with only HTML and CSS. +No JavaScript required. + +## Features +- Expand/collapse multiple sections +- Smooth transitions +- Only one section open at a time (radio button version) +- Responsive design +- Customizable colors and styles +- Accessible (keyboard-friendly) +- Rotating arrow icon for open sections + +## How to Use +1. Open `index.html` in any modern browser. +2. Click on section headers to expand or collapse content. + +## Folder Structure + +css-accordion/ +- index.html +- style.css +- README.md \ No newline at end of file diff --git a/css-accordion/idex.html b/css-accordion/idex.html new file mode 100644 index 00000000..2778d9b7 --- /dev/null +++ b/css-accordion/idex.html @@ -0,0 +1,31 @@ + + +
+ +Content for section 1. Add as much text as you like here.
+Content for section 2.
+Content for section 3.
+