JSFiddle - React, Tailwind, and code Playground

Testing css :not() selector with attributes.

by nilloc

HTML

<statement data-shape="none" class="no-bg">
  <control>if( true )</control>
  <block>
    <statement>tester</statement>
  </block>
</statement>

CSS

statement:not([data-shape="none"]){
  background:blue;
  color:white;
  padding:10px;
  outline: 1px dotted green;
}