How to control this function with the click button in java script

#one:hover{ border-radius: 200px; transition: all 5s; transition-timing-function: ease-in-out; transform: rotatey(540deg) }

I want to control this function with the javascript click. Please tells me how to call this function in javascript.