Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

632980 Views

Latest files of /cody/atherosai/ui/dropdown-menu-02

assets/ cody/atherosai/ui/dropdown-menu-02/assets/
9 Items
  • ricahrd_taylor.jpg
  • joe-doe-profile.png
  • jennifer.jpg
  • profile.svg
  • logout.svg
  • michelle.jpg
  • jason.jpg
  • message.svg
  • style.css cody/atherosai/ui/dropdown-menu-02/style.css
    90 Views
    0 Comments


    @import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display&display=swap');

    :root {
    --primary: #625BFE;
    --important: #F55E5E;
    }
    index.html cody/atherosai/ui/dropdown-menu-02/index.html
    342 Views
    0 Comments
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Dropdown Menu 02</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link
    script.js cody/atherosai/ui/dropdown-menu-02/script.js
    157 Views
    0 Comments

    const notifications = document.querySelector('.notifications');
    const dropdown = document.querySelector('.dropdown__wrapper');

    notifications.addEventListener('click', () => {
    dropdown.classList.remove('none');
    dropdown.classList.toggle('hide');
    })