HTML5 adds a native placeholder attribute for input, which is supported by advanced browsers. For example: <input type="text" placeholder="Search" value=" "> The default placeholder font color is light gray. If you want to change this default color, the solution is as follows: XML/HTML CodeCopy content to clipboard
The above method of changing the default color of the input box placeholder text - webkit-input-placeholder is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. Original URL: http://www.cnblogs.com/xjuan/p/5436037.html |
<<: A summary of the reasons why Mysql does not use date field index
>>: Detailed explanation of basic operation commands for Linux network settings
Statistics of QPS values in the last N seconds ...
I’ve always preferred grayscale images because I t...
Table of contents 1. WordPress deployment 1. Prep...
The reason is that this type of web page originate...
Virtual machines are very convenient testing soft...
Table of contents 1. Sorting function 2. Prepare ...
500 (Internal Server Error) The server encountere...
This article example shares the specific code of ...
Before introducing the GROUP BY and HAVING clause...
Cockpit is a web-based server management tool ava...
Table of contents What is React Fiber? Why React ...
Table of contents Problem scenario: Solution: 1. ...
How to center an element in the browser window He...
HTML-centric front-end development is almost what ...
Insert Baidu Map into the web page If you want to...