Topic: How to change colour of Form Underline

nathangrieve10 free asked 3 years ago


How do you change the colour for the material form design underline after it has been clicked in CSS? (Default seems to be blue).


Adam Jakubowski staff answered 3 years ago


Hi,

Try this input:focus:not([readonly]) { box-shadow: 0 1px 0 0 red !important; border-bottom: 1px solid red !important; } add this into your css code

Best,

Adam


Ruth free commented 2 years ago

That work WELL !!! Thank A lot


nathangrieve10 free answered 3 years ago


Hi, the standard Pro Material Form Design which can be seen if you click on form section of documentation.

Snippet: https://mdbootstrap.com/snippets/jquery/nathangrieve10/970034?action=forum_snippet

Looking to change the colour of the underline part of a field after you click on it.


Adam Jakubowski staff answered 3 years ago


Hi,

Could you tell me exactly which element from our documentation would you like to change?

Best,

Adam


nathangrieve10 free commented 3 years ago

Hi, the standard Pro Material Form Design which can be seen if you click on form section of documentation.

Snippet: https://mdbootstrap.com/snippets/jquery/nathangrieve10/970034?action=forum_snippet

Looking to change the colour of the underline part of a field after you click on it.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.5
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No