Home >Web Front-end >CSS Tutorial >Input text box style code example_Basic tutorial

Input text box style code example_Basic tutorial

WBOY
WBOYOriginal
2016-05-16 12:06:522344browse

To change the style of all forms through css, you can define a format like
input{color:red}
textarea{border:1px solid #333}
in css. Generally, if There is no need to change all text styles. You can define styles such as text boxes and password boxes through the following methods


[Ctrl A Select all Note:If you need to introduce external Js, you need to refresh to execute]
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn