如何更改HTML输入标记的字体和字体大小? [英] How to change the font and font size of an HTML input tag?
本文介绍了如何更改HTML输入标记的字体和字体大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
<input id="txtComputer">
如何使输入标签中的文本更大?我想让它的24大小的字体。如果我可以从默认
How do I make my text inside the input tag bigger? I want to make it 24 size font. It would also be good if I can change the font from the default
推荐答案
<input type ="text" id="txtComputer">
css
input[type="text"]
{
font-size:24px;
}
这篇关于如何更改HTML输入标记的字体和字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文