CSS 本本

目录

01 超级链接 <a></a> 隐藏 下划线

02 输入框 <input /> 隐藏 边框

03 输入框 <input /> 边框 长度


01 超级链接 <a></a> 隐藏 下划线

  a { text-decoration:none; }  //取消所有超级链接的下划线

  a:hover { color: #ff0000; text-decoration: underline; }  //鼠标放在上面时:颜色变红;出现下划线;

 

02  输入框 <input /> 隐藏 边框

  <input style="border:0" />  // 支持IE6

  <input style="border:none" />

  <input style="border-style:none"/>

03 输入框 <input /> 边框 长度

  <input size="30" />

原文地址:https://www.cnblogs.com/qixiawentang/p/5658434.html