0 Favourites

CSS Class behaviour

  • 1. The present Set CSS style action lets me set different CSS values in the System -> On Start of layout one by one.

    Is it somehow possible to use a CSS file and just set the class of, ex text objects to something?

    2 The present Set CSS style action lets me set different CSS values in the System -> On Start of layout. I seem not to be able to use it in, ex Mouse over -events.

    I want to create a CSS file and set objects to different CSS classes like I would normally do in HTML/Javascript. Is it possible?

    Ex, I have a Family: txtMenuTexts

    I want to set them to css Class='Normal' on layout start.

    I want to set them to css Class='Hover' when Mouse Cursor is over them.

    I want to set them to css Class='Normal' when Mouse Cursor is not over them.

    This is basic functionality when doing HTML/Jscript.

    But the only way I can achieve a near (not very) decent management of different styles now, is by using a staggering amount of global variables for the different font faces, sizes and colors + multitude of events, setting those values one by one. Quite unpractical...

    Is there any other way of controlling text styles apart from what passes as CSS in Constructor or global variables?

    Or am I just doing it all very wrongly?

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
[BEHAVIOR] Chipmunk Physics
673 82,497
nelostic's avatar
nelostic
Unread hot topic
0 Favourites
[Behavior] LiteTween
672 169,875
manujorgo's avatar
manujorgo
Unread hot topic
564 105,209
rexrainbow's avatar
rexrainbow