title: JavaFX animation on button hover
body: <p>I would like to make an animation when I hover a button but if I use CSS, there is no transitions, the properties change instantly. I tried to extend the button class and set the onMouseEntered property but if I do that, I can't open the FXML file with SceneBuilder anymore because it doesn't know my subclass extends the Button class. So what can I do to have all of the buttons have a transition on hover or click ?</p>