0

I write this code and I use sass. I want to when the user hovers on .windowP, the background color of #oneP will be changed. can we use @if in this example?

      <div id="oneP" className="windowP">
        a
      </div>
      <div id="twoP" className="windowP">
        b
      </div>
      <div id="threeP" className="windowP">
        v
      </div>

0 Answers0