- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I want to change the content when hovering a drop down menu part.
But when changing the arrow, the dropdown menu ain’t working anymore
How to put my code in here ?
You can demo a reduced version of your menu/the issue in codepen.io
So, I named it “Content dropdown”.
so, where “Informatie” is, hovering you’ll “Grafiek”, when hovering arrow must be changed in arrow right, and dropdown menu must be shown.
But I’m not able to changed content and menu being shown.
No one has an idea about how to solve this ?
Are you just wanting to rotate the arrow for submenus while leaving the top-level ones pointing down?
Look into applying transform:rotate();
, along with the desired degree/rotation value (probably 270deg), to nested list item elements.
Try this!
.menu > li ul a::after {
transform: rotate(270deg);
display: inline-block;
margin-left: 5px;
}