Home > Article > Web Front-end > How to hide input in css
How to hide input in css: 1. Hide input through hidden attribute; 2. Hide input through "display:none" attribute in css; 3. Hide input through "visibility: hidden;".
The operating environment of this article: Windows 7 system, Dell G3 computer, HTML5&&CSS3 version.
Three ways to hide input
//隐藏不留痕迹 <input type="hidden" /> <input type="text" style="display:none" /> //占位隐藏,会留下空白 <input type="text" style="visibility: hidden;" />
[Recommended learning: HTML video tutorial]
The above is the detailed content of How to hide input in css. For more information, please follow other related articles on the PHP Chinese website!