Add CSS in a function – resolved

Thank you all for your help 🙂

"I apologize in advance for the question I’m about to ask, but I have a level far below the average.

I got my function to display my site to full screen :

  } else {
    if (document.exitFullscreen) {
      document.exitFullscreen();
    }
  }

that I associate with a button image and it worked !

But when I move my cursor over it, the cursor remains in "default" version so I would like it to become "pointer" to give the effect of a button : "cursor: pointer;" and I don’t manage to enter my css in the function to make it work.

Thank you in advance for your answers :)"

131 thoughts on “Add CSS in a function – resolved”

Leave a Comment