Topic: How can i set a background-color for input-fields with readonly
punchbyte_boot pro premium asked 4 years ago
Expected behavior
We wish to get input-fields (type text) with "readonly" with grey background
Actual behavior
Input-Fields have a white background
Resources (screenshots, code snippets etc.)
.md-form.input-group .form-control:readonly {background-color: #00000;}
Marcin Luczak staff answered 4 years ago
Hi,
If you would like to change general background behavior of the input element you can check our documentation. For specific input change please check my snippet
Keep coding, Marcin from MDB
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: MDB4 4.19.2
- Device: PC
- Browser: Google Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No