A
A
akaikin2015-10-20 12:29:14
css
akaikin, 2015-10-20 12:29:14

Display parent element and dropdown menu on hover?

I'm learning a little bit of CSS. I can’t figure out how to make the parent element continue to be displayed as hovered when hovering over a sub-menu? and also, when hovering over the parent, the sub-menu remained active, which had an indent on top. Here's what you need 723d2fa399894aea9e1e5d6cf0ace94e.jpg: For now, here's what: codepen.io/akaikin/pen/MaOQwq

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Chernyshev, 2015-10-20
@akaikin

You have an empty space between the button itself and the drop-down block, and when you move the cursor from the button to the submenu, the cursor falls on the empty space and hover stops working.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question