首页 > 解决方案 > 如何在使用 bootsrap 时更改 css 中的输入文本颜色

问题描述

我正在使用引导程序,我想将输入文本颜色更改为黑色,但无法正常工作。

<input type="text" id="name" name="nomclient" style="background-color: white;" style="color: black;" />

标签: htmlcssbootstrap-4

解决方案


这是你想要的吗?我试过这段代码,它工作正常!

<input type="text" id="name" name="nomclient" style="background-color: white; color:black;" />

推荐阅读