check the loom video. When i hover a navlink i used a hover animation. it works how it should, but if you hover between “partner” and “maulkorbberatung” the div jumps and i cant figure out why.
hei, sry for the late reply. the underline hover is now above the textlink.
Edit: It works for the main navlinks, but for the subcat navlink in “hundetraining” it doesnt. I want the underline hover not stretched out further than the navlink text. i left the settings on “einzeltrainings” for you…
You forget to add style .underline-hover {bottom: 0px;} add this
also for the dropdown, you have to write a good code, you have different padding for first and last dropdown item, and line is not aligned on first dropdown item and last dropdown item. keep the style consistent.
ok, i got it. i had to change the padding in the dropdown links. now i got just one problem - first dropdown link “einzeltrainings” the underline spreads till the end of the dropdown list. i didnt manage to have the underline div shrink to the textlinks size. any idea?