J
J
Jedi2018-02-20 03:13:35
css
Jedi, 2018-02-20 03:13:35

How to specify multiple selectors after :hover?

#selector0:hover #selector1 { display: none; } - OK Status:200
#selector0:hover #selector1, #selector2 { display: none; } - Error Status:503
How to specify multiple selectors ?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Zotov, 2018-02-20
@PHPjedi

you need to specify the full path to the selector each time:

#selector0:hover #selector1, #selector0:hover #selector2 {
...
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question