Forums

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

Home Forums CSS hover img working visibility text not

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #300207
    Forssux
    Participant

    Hi there,

    while I was following the article basic-shapes-path-never-twain-shall-meet I asked myself If I couldn’t let appear the text while hovering over the img.
    I changed following lines

    margin-right: 2rem;
    clip-path: url("#clip");
    transition: clip-path 0.2s;"

    to
    margin-right: 2rem;
    transition: clip-path 0.2s;
    &:hover {
    clip-path: url("#clip");
    .comment-text{visibility:visible;}
    }

    I also added other stuff which can be viewed here.
    The hovering works but making the text visible not.
    Why is this?
    Guy

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