Get the App
SLTechnology News&Howtos  ›  Development  › 

How css changes the font color size of placeholder

Shulou Source: shulou.com Published: 2022-06-01 04:39:14 09月22日 Update

This article is about how css changes the font color size of placeholder. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Change the font color size of placeholder

Input::-webkit-input-placeholder {/ * WebKit browsers * / font-size:14px; color: # 333;} input:-moz-placeholder {/ * Mozilla Firefox 4 to 18 * / font-size:14px; color: # 333;} input::-moz-placeholder {/ * Mozilla Firefox 19 + * / font-size:14px; color: # 333 } input:-ms-input-placeholder {/ * Internet Explorer 10 + * / font-size:14px; color: # 333;} Thank you for reading! This is the end of this article on "how css changes the font color size of placeholder". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Size font color content more articles good practical articles read knowledge reference help related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Linux Xiaomi Apple OPPO Reno