Customize form focus border


Topic: Customize form focus border

incust pro premium priority asked 2 years ago

Is it possible to change form border, that shows on focus?


Krzysztof Wilk staff answered 2 years ago

Hi!

You can use this CSS rule to achieve that :)

.form-control:focus ~ .form-notch div {
  border-color: red !important;
}

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 4.1.0
  • Device: All
  • Browser: All
  • OS: all
  • Provided sample code: No
  • Provided link: No