Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Change content on hover

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #282415
    Nopelken
    Participant

    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 ?

    #282420
    Beverleyh
    Participant

    You can demo a reduced version of your menu/the issue in codepen.io

    #282421
    Nopelken
    Participant

    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.

    Link: https://codepen.io/LucBaetsle/project/editor/XGjRkY#

    #282925
    Nopelken
    Participant

    No one has an idea about how to solve this ?

    #282932
    Beverleyh
    Participant

    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.

    #282937
    sukaram
    Participant

    Try this!

    .menu > li ul a::after {
    transform: rotate(270deg);
    display: inline-block;
    margin-left: 5px;
    }

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.