Home › Forums › CSS › CSS hover hack › Reply To: CSS hover hack
February 11, 2016 at 3:35 pm
#237956
Participant
I’m not quite sure what you’re asking for, but if you don’t want the size of the button to change, you can add white-space: nowrap;
to .button span
That will prevent the button text from wrapping on to two lines and making the button taller. Be aware that the text can go outside of the button if it is too long.