Home>Article>Web Front-end> How to remove borders from css input
How to remove the input border in css: 1. Use the "border:none;" statement to define a borderless style to remove it; 2. Use the "border:0;" statement to set the border width to 0 to remove it; 3. Use the "border:transparent;" statement to set a transparent border to remove it.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
Method 1: Use border:none;
border attribute to set all border attributes. When the value is none, it means that the border attribute is not set or canceled for the label element. Border attribute, defines the borderless style.
Rendering:
##Method 1: Use border:0;
Remove by setting the width of the border to 0#qd{ border:0; }Rendering:
Method 3: Use border :transparent;
Remove#qd{ border:transparent; }by setting the border style to transparent color:
css video tutorial)
The above is the detailed content of How to remove borders from css input. For more information, please follow other related articles on the PHP Chinese website!