Hello all,
aXes version: V4.1
Our customer want to change the background color of input field and textarea when it gets the focus.
It seems to be easy but I couldn't find how to do it because I'm not familiar with aXes.
I'd like to add the code as below, but can't find where to put them.
input:focus, textarea:focus {
background-color: #bde9ba;
}
Can anyone help us?
Thanks in advance.
Yukiko Ikeo
How to change the background color when it gets focus?
Moderator: jeanmichel
-
Yukiko Ikeo
- Posts: 2
- Joined: 01 Feb 2021, 17:57
-
Fairdinkum
- Posts: 128
- Joined: 24 Jul 2017, 17:02
Re: How to change the background color when it gets focus?
Hi Ikeo-san,
Try the Application's style below.
name....... focusStyle (Example)
styleFor... HTML Element
htmlTag.... dummy, div#terminalContent input:focus, div#terminalContent textarea:focus
style...... {background-color: #bde9ba; background-image: none;}
Result will be something like the following video:
https://drive.google.com/file/d/1weiBlH ... sp=sharing
HTH!
Regards,
Hide (Hidekazu Tanaka)
Try the Application's style below.
name....... focusStyle (Example)
styleFor... HTML Element
htmlTag.... dummy, div#terminalContent input:focus, div#terminalContent textarea:focus
style...... {background-color: #bde9ba; background-image: none;}
Result will be something like the following video:
https://drive.google.com/file/d/1weiBlH ... sp=sharing
HTH!
Regards,
Hide (Hidekazu Tanaka)
-
Yukiko Ikeo
- Posts: 2
- Joined: 01 Feb 2021, 17:57
Re: How to change the background color when it gets focus?
Hi Tanaka-san,
Thank you for your reply.
I've tried and confirmed that it worked as expected.
Thank you very much!
Yukiko Ikeo
Thank you for your reply.
I've tried and confirmed that it worked as expected.
Thank you very much!
Yukiko Ikeo