1
1
17392018-02-03 23:18:34
css
1739, 2018-02-03 23:18:34

How to apply CSS hover correctly?

Site test06.menchasha.ru/. I'm trying to implement a CSS hover effect so that when you click on a link (Promotional Activities), a ul appears on the right.
I use the code:
.child {
visibility: hidden;
}
a .title1:hover + .child {
visibility: visible;
}
Ul disappears, but when hovering over the link on the left, it does not appear.
5a7619b675e27901375709.png
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
ElijahTr, 2018-02-04
@ElijahTr

I'm trying to implement a CSS hover effect so that when you click on a link

Hover is not a click, but a hover.
You can do something like this:
https://codepen.io/elijah_tr/pen/mXPPVx
there and :hover and toggle on click.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question