Home  >  Article  >  Web Front-end  >  How to remove the border of the input box in css

How to remove the border of the input box in css

藏色散人
藏色散人Original
2021-04-13 10:52:053306browse

How to remove the border of the input box in css: first open the corresponding HTML code file; then directly add the css style to the input tag as "style="border:0px;"" to remove the border of the input box .

How to remove the border of the input box in css

The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.

How to remove the border of the text box:

Remove the border of the text box:

<input type="text" name="textfield" style="border:0px;">

Leave only the border:

<input type="text" style="BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: solid">

[Recommended learning:css video tutorial

The above is the detailed content of How to remove the border of the input box in css. For more information, please follow other related articles on the PHP Chinese website!

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