How to stylize text input

0 favourites
  • 1 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • Helloo

    I've been trying to customize a text field while i'm practicing, so far i found out you gotta use css which i think is great but i can't get it to work

    I got the .css file loaded in my project and the id of the text field is set to "center5", but it doesn't seem to change anything

    here's the css

    .center5 {
      display: inline-block;
      -webkit-box-sizing: content-box;
      -moz-box-sizing: content-box;
      box-sizing: content-box;
      padding: 10px 20px;
      border: none;
      font: normal 16px/0 Verdana, Geneva, sans-serif;
      color: rgba(0,142,198,1);
      text-align: center;
      -o-text-overflow: clip;
      text-overflow: clip;
      -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
      -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
      -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
      transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);
    }[/code:24h38bao]
    
    Also i'm a total newbie here and i'm kinda worried if using css might have varying results, my target platform is android
    
    Eitherway thanks in advance
  • 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)