Topic: Change form label color when in focus
Austin free asked 6 years ago
Austin free answered 6 years ago
.md-form textarea[type=text]:focus:not([readonly]) + label { color: #177BA8; } .md-form textarea[type=text]:focus:not([readonly]) { box-shadow: 0 1px 0 0 #177BA8; border-bottom: 1px solid #177BA8; }
Marta Wierzbicka staff answered 6 years ago
.md-form input[type=text]:focus:not([readonly]) + label { color: #CC0000; } .md-form input[type=text]:focus:not([readonly]) { box-shadow: 0 1px 0 0 #CC0000; border-bottom: 1px solid #CC0000; }Best, Marta
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No