如何更改我的按钮上的文本的字体大小(HTML / CSS)

杰里米

我已经用几种不同的方式在Google上进行了搜索,但没有发现任何帮助,我们将不胜感激!

程式码片段:

<center><p><button style="height:50px;width:200px" onclick="myFunction()" id="button">Show More</button></p></center><br>

米克尔·圣·维森特

您正在寻找font-size物业:

<center><p><button style="height:50px;width:200px;font-size:20px" onclick="myFunction()" id="button">Show More</button></p></center>

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章