JSFiddle - React, Tailwind, and code Playground

by kybernaut

HTML

<a href="http://google.com">Link Google</a><br>
<a href="http://stackoverflow.com/questions/17893823/how-to-pass-parameters-to-css-classes">Link Stackoverflow</a><br>
<a href="http://seznam.com">Link Other</a><br>
<a href="http://stackoverflow.com/questions/17893823/how-to-pass-parameters-to-css-classes">Link Stackoverflow</a><br>

CSS

a[href*="google"] {
  color: red;
}