A Pen by Chris Barr

Thumbnail
This awesome code was written by chrismbarr, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright chrismbarr ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Chris Barr</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <a ng-href="isDisabled ? '' : ctrl.link" ng-class="{'disabled': isDisabled}" target="_blank" >click me!</a>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/chrismbarr/a-pen-by-chris-barr-eMxwoK */
a[disabled] {
  pointer-events: none;
}

Comments