skip to Main Content

Need to give a color to a menu link in html css

Please find the code for navbar below. How can I give the color to the html link like Home, Services and About? <!--navbar--> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <div class="container-fluid"> <div class="navimg"> <img src="./img/Heliosupdated.png" alt="Description"> </div> <button class="navbar-toggler" type="button" data-bs-toggle="collapse"…

VIEW QUESTION

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