Topic: Changing color of form outline
adrian0maszczyk free asked 2 years ago
I want to use danger-color outline for my input field. MDB docs offer only primary and white outlines. https://mdbootstrap.com/support/standard/change-focus-input-outline-and-label-color/ and https://mdbootstrap.com/support/react/how-to-change-mdbinput-outline-color/ doesn't work.
Mateusz Lazaru staff answered 2 years ago
Hi,
Check my snippet:
https://mdbootstrap.com/snippets/standard/mlazaru/4751094#css-tab-view
adrian0maszczyk free commented 2 years ago
it doesn't work properly outline includes label text
Mateusz Lazaru staff commented 2 years ago
here is a workaround solution:
https://mdbootstrap.com/snippets/standard/mlazaru/4751094#css-tab-view
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 6.0.1
- Device: Lenovo IdeaPad Gaming 3 15IHU6
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes