html - 如何在使用 bootsrap 时更改 css 中的输入文本颜色
问题描述
我正在使用引导程序,我想将输入文本颜色更改为黑色,但无法正常工作。
<input type="text" id="name" name="nomclient" style="background-color: white;" style="color: black;" />
解决方案
这是你想要的吗?我试过这段代码,它工作正常!
<input type="text" id="name" name="nomclient" style="background-color: white; color:black;" />
推荐阅读
- database - Oracle dataguard 备用中的化身错误
- javascript - Javascript - one function is dependent on others running first
- python - 检查列表是否在列表列表中
- batch-file - 如何在for循环中的批处理命令中附加到现有文件名
- excel - 如何合并填充行直到重复找到空白单元格
- php - 如何在不更改服务器主机名和路由的情况下将现有 Web 项目移动到 Laravel
- node.js - 为什么 Node RxJS .subscribe() 没有被 bindNodeCallback() 触发?
- hyperledger - 如何在没有交易处理器功能的情况下自动建立资产关系?
- xml - 离线时使用外部xsd文件解析tomcat web.xml
- android - Android:如何在两个测试代码上使用 Mock?