CSS pseudo selectors?

0 favourites
  • 1 posts
From the Asset Store
A well commented Pseudo 3D Racing game template to learn from or use as a base for your own game!
  • I'm tallking about Buttons, File-Choose, List, Progress Bar, Slider Bar and Text Box.

    Right now I can change some simple CSS like background, color, font-family etc...

    But I can't select by pseudo selector/class (the specific state of the item),

    for example I want to set styles for Button when its :hover or :disabled

    I think it would be nice to have option to heve in the dialog box option to add pseudo selector.

    Because right now I see only two ways to overcome that limitation:

    1. By Browser>Execute JavaScript and set styles manualy

    2. By changing CSS on the fly, for example to simulate :disabled I have to chenge the CSS when I dissebling the button, but for simulating :hover I have to make sprite under the button to detect hovering and check for hovering and then to change the CSS of the iteme above... To messy.

  • Try Construct 3

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

    Try 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)