Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design Navbar with CSS If Statement

  • Navbar with CSS If Statement

    updated 6 months, 4 weeks ago 0 Member · 1 Post
  • Maverick

    October 30, 2019 at 7:32 am

    Hey Guys, so I am writing this navbar here: When I hover over “services”, there are two classes going to be added to the list item. If this happens, I want to select the dropdown menu and apply some css styles to it. I do this by saying: .trigger-enter .dropdown { opacity: 1; } so this should mean, when the list item gets the “trigger-enter” class, the “dropdown” element should add an opacity of 1. Somehow it is not working, does someone know if I made a mistake with my .css? – by hq overview jackthejacky – –

Reply to: Maverick
Your information:

Original Post
0 of 0 posts June 2018