I need to do this in only CSS
not in jQuery
, is there a way that, when I click on a div I can say in CSS
that a other div have to be display: block;
?
I only used :active
, but it wasn't what I needed, so I hope you guys know an other way to do this :)
PS: NOT IN jQuery!
Code:
.dropdown-submenu:active > .dropdown-menu {
display: block;
}