How do I disable the function by clicking on css?

Asked

Viewed 50 times

-1

The table below has a <li> and within that <li> has the <a>. I would like to disable the css link:

<li id="menu-item-6858" class="menu-item menu-item-type-custom menu-item-object-custom">
  <a href="#" tabindex="0" role="link">
    <span class="menu-item-text">
      <h4>CONHEÇA TAMBÉM</h4>
    </span>
  </a>
</li>
  • .disabled { cursor:default; Pointer-Events:None; text-Decoration:None; color:black; }

1 answer

-1

.desabilita {
  pointer-events: none;
}
  • .isDisabled { color: currentColor; cursor: not-allowed; opacity: 0.5; text-Decoration: None; }

  • Thanks worked out,,

Browser other questions tagged

You are not signed in. Login or sign up in order to post.