Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633167 Views

Latest files of /cody/atherosai/ui/accordion-01

assets/ cody/atherosai/ui/accordion-01/assets/
2 Items
  • plus.svg
  • minus.svg
  • style.css cody/atherosai/ui/accordion-01/style.css
    92 Views
    0 Comments
    html {
    font-size: 16px;
    font-family: "Poppins";
    }

    body {
    background: white;
    height: 100%;
    index.html cody/atherosai/ui/accordion-01/index.html
    312 Views
    0 Comments

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Accordion 01</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    script.js cody/atherosai/ui/accordion-01/script.js
    146 Views
    0 Comments

    //? This code is for animating details
    //? of summary component and slightly modified
    //? https://css-tricks.com/how-to-animate-the-
    //? details-element-using-waapi/

    class Accordion {
    constructor(el) {