Disable link with pointer-events but keep active the :hover event

I wan’t to disable a link in my home page with the attribute selector and the pointer-events: disable; but I would like to maintain the :hover effect.

This is the CSS:

Section#thumbnails .thumb a[title="Yorokobu"]{
    pointer-events: none !important;
    display: block !important;
    cursor: default;
  }

And this the website: www.rafagarces.com/work

Thank you!

Read more here: Disable link with pointer-events but keep active the :hover event

Leave a Reply

Your email address will not be published. Required fields are marked *