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.
- Lorem ipsum dolor sit amet consectetur
- Lorem ipsum dolor sit amet consectetur
- 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.
- Lorem ipsum dolor sit amet consectetur
- Lorem ipsum dolor sit amet consectetur
- 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.
- Lorem ipsum dolor sit amet consectetur
- Lorem ipsum dolor sit amet consectetur
- 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 {
Step 2:
font: 100%/1.4 Roboto, sans-serif;
/*padding: 2em;*/
color: white;
}
- 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 saysconst vm = new Vue({
Change the
el: “#app”,
...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 ({
Step 4:
el: “#app2”,
Repeat for all the other embedded accordions by changing the id
and const
to unique names.Done!