JSFiddle - React, Tailwind, and code Playground

by Rashit1122233

HTML

<div class="test"> blah </div>
<div class="test"> blah </div>
<div class="test nohover"> blah </div>

CSS

.test{
  padding: 5px;
  background-color: #727272;
  color:#fff;
}
.test:not(.nohover):hover {  
    background-color: #fff; 
    color:#000;
}