Button color

0
Hi everyone,   I want that my buttons change their color when I move with my mouse on them. Can someone help my how to do that? And is it possible to change the color of the text inside a button?   Thank you!
asked
5 answers
5

You can use CSS for this. Follow the tutorial to see how to do this in Mendix.

https://docs.mendix.com/howto/front-end/calypso

Then use the ':hover' example here to add a class to your button.

https://www.w3schools.com/css/css3_buttons.asp

answered
0

Thank you Lennart!

The thing with calypso works fine.

But where do I find a specific button in my “custom variables”? 

best regards

answered
0

He Andreas,

The buttons can be styled using Sass classes. How to work with Sass to change styling, you might want to read up on in this lecture: https://academy.mendix.com/link/path/105/Style-your-App-with-CSS.

answered
0

Hey Toon,

thank you! 

I found it. Sorry for these easy questions, I’am totally new.

 

best

Andi

answered
0

One further question.
When I am customizing with CSS, will the app still be compatible with MindSphere?

answered