Here is a capx how to css style form elements
learn by example
u need this 3rd part plugin to open capx
https://www.scirra.com/forum/plugin-css-import_t78007?&hilit=css+import
or there is an alt2 capx whitout thr 3rd part plugin ( only functional on buttons)
Demo
demo