使用CSS更改文本的颜色 [英] Change color of text using css
本文介绍了使用CSS更改文本的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
用户仅通过css在文本框中输入文本时,可以更改文本的颜色吗.
Can the color of this text be changed as it is inputted by the user in the text box through css only..
<html>
<head>
</head>
<input type="text" id="name1" name="name1" />
推荐答案
我还没有测试过,但是不是吗?
I've not tested, but wouldn't it just be:
input {color:blue}
这篇关于使用CSS更改文本的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文