JSFiddle - React, Tailwind, and code Playground
by danield770
HTML
<div class="test"> blah </div>
<div class="test"> blah </div>
<div class="test nohover"> blah </div>
CSS
.test:not(.nohover):hover {
border: 1px solid red;
}
by danield770
<div class="test"> blah </div>
<div class="test"> blah </div>
<div class="test nohover"> blah </div>
.test:not(.nohover):hover {
border: 1px solid red;
}