• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Style textfields and comboboxes

 
M Bryan
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am currently working on styling my textfields and comboboxes, but there is a small problem.
I want both to have white border on default, a grey border when hovering them and a blue border when they are focused. This works quite well, but as soon as I start typing, they lose their border color respectivly it gets white again.

This is what my css looks like:



Thank you!
 
Volodymyr Lysenko
Ranch Hand
Posts: 512
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This style works for me on TextField:

After I start typing or even close window it works and I apply this style by :
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic