JSFiddle - React, Tailwind, and code Playground HTML <p> <em>FOO</em> </p> CSS em:not(div) { color: red } em:not(p div) { color: blue }