skip to Main Content

Html – Resize Navigation Bar with Sticky

I found a very simple way to make a sticky navigation bar here: https://www.w3schools.com/howto/howto_js_navbar_sticky.asp My code pretty much mirrors the example except I have a height set on mine: window.onscroll = function() { myFunction() }; var navbar = document.getElementById("navbar"); var…

VIEW QUESTION

I am trying to make a navbar for a website , using HTML + Tailwindcss but the functionality i want is not happening

I tried the group-hover:block too but still when I hover over the solution and resources, it's not showing the dropdown menu <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Front Page</title> <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet"> </head> <body class="bg-slate-600">…

VIEW QUESTION
Back To Top
Search