Accordion FAQs drop-down in Carrd


A Carrd demo for clean and minimal accordion FAQ drop-downs and animated icons.


Frequently Asked Questions

Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea enim aliquid itaque esse dolorum aperiam, rerum ab possimus voluptatibus modi nobis, maiores quisquam ut sint impedit dignissimos assumenda tempora quam.

  1. Lorem ipsum dolor sit amet consectetur
  2. Lorem ipsum dolor sit amet consectetur
  3. Lorem ipsum dolor sit amet consectetur

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet consectetur, adipisicing elit. Blanditiis explicabo porro, voluptatum laborum cumque molestiae quibusdam accusamus sed, quam sint ducimus libero distinctio? Dolore laborum, quos dolorem recusandae deleniti quasi.

ⓘ To embed 2 or more accordions on your Carrd site, check out this tutorial here.


📣 New Carrd plugin released: Mega nav bar

Made by @jasonleowsg using Vue.js.

💚 Credits: Adapted from Vue accordion by Dima in Codepen

Double accordion FAQs drop-down tutorial

Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea enim aliquid itaque esse dolorum aperiam, rerum ab possimus voluptatibus modi nobis, maiores quisquam ut sint impedit dignissimos assumenda tempora quam.

  1. Lorem ipsum dolor sit amet consectetur
  2. Lorem ipsum dolor sit amet consectetur
  3. Lorem ipsum dolor sit amet consectetur

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet consectetur, adipisicing elit. Blanditiis explicabo porro, voluptatum laborum cumque molestiae quibusdam accusamus sed, quam sint ducimus libero distinctio? Dolore laborum, quos dolorem recusandae deleniti quasi.

Lorem ipsum dolor sit amet consectetur adipisicing elit. Ea enim aliquid itaque esse dolorum aperiam, rerum ab possimus voluptatibus modi nobis, maiores quisquam ut sint impedit dignissimos assumenda tempora quam.

  1. Lorem ipsum dolor sit amet consectetur
  2. Lorem ipsum dolor sit amet consectetur
  3. Lorem ipsum dolor sit amet consectetur

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet consectetur, adipisicing elit. Blanditiis explicabo porro, voluptatum laborum cumque molestiae quibusdam accusamus sed, quam sint ducimus libero distinctio? Dolore laborum, quos dolorem recusandae deleniti quasi.

Here’s how you do embed the accordion a 2nd or 3rd time in the same Carrd site:Step 1:
- Look for the start of the CSS code, after the <style> tag. Find this code:
#app {
font: 100%/1.4 Roboto, sans-serif;
/*padding: 2em;*/
color: white;
}

- Change the id to a unique name. Right now it’s app, change it to app2 or anything unique you want (it has to be different from the other embedded accordions), like this:
#app2 {
font: 100%/1.4 Roboto, sans-serif;
/*padding: 2em;*/
color: white;
}
Step 2:
- Look for the start of the HTML code, after the closing </style> tag.
- Change the id to a unique name. Right now it’s <div id=“app”>, change it to app2 or anything unique you want (it has to be different from the other embedded accordions), like this: <div id=“app2”>
Step 3:
Scroll down the code to near the bottom, where it says
const vm = new Vue({
el: “#app”,
...
Change the const to something unique again (remember, this just has to be different from the other embedded accordions), and the el to match the id you used earlier, e.g.const vm2 = new Vue ({
el: “#app2”,
Step 4:
Repeat for all the other embedded accordions by changing the id and const to unique names.
Done!