input 去除默认样式

前言

如何不自己写框架,基本用不上。

正文

input{
   border: 0px;
   background-color: none;
   outline: none;
}
input:focus{
   outline: none;
}

这里有一点你可能觉得奇怪,为什么要background-color: none;
因为在苹果web app中,会出现蓝条。

原文地址:https://www.cnblogs.com/aoximin/p/12448722.html