Topic: Change form label color when in focus
Austin 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 Szymanska staff pro premium 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
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No