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

Home Forums CSS Show multiple hrefs when hovering a list-element

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #45234

    Hi guys,

    I just started to work with some HTML and CSS stuff and already used this forum several times.

    But now I’m stucked at some problem where I do not know, if this is even solvable using only CSS.

    My small code [here]( at codepen.

    What I want to achieve is that both hrefs (edit and delete) are shown, when the list-element is hovered.

    In this code-snippet, ONE href is shown. But how do I get both?

    The HTML-code is given. I’m not able to alter it.

    I would be very happy for any help.

    Thank you!


    well, the html is invalid – I’d work on getting that fixed first. The only child allowed in a ul is li

    something like this:


    here are a code pen EXM , see if this is you looking for
    [ ]( )


    Thank you a lot!

    Exactly what I was looking for.

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