JSFiddle - React, Tailwind, and code Playground

by Felis Catus

HTML

<span id=red>blue</span><br>
<a href=http://example.com>example href</a><br>
<span class="blue green">red</span>

CSS

span[id=red]{
  background: red;
}
a[href^=http]{
  background: yellow;
}
span[class='blue green']{
  background: teal;
}

JavaScript

(function(){
	$('span[id=red]').css({color: 'white'});
})();