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

Activity Forums Web Design Navbar with CSS If Statement

  • Navbar with CSS If Statement

    updated 2 weeks, 3 days ago 0 Member · 1 Post
  • Maverick

    Member
    October 30, 2019 at 7:32 am

    Hey Guys, so I am writing this navbar here: https://jsfiddle.net/97bz86xu/11/ 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:

Cancel
Original Post
0 of 0 posts June 2018
Now