button,input{
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /*隐藏点击时出现的背景框*/
-webkit-user-modify: read-write-plaintext-only;
/*这句话可以设置a、input,button等标签具有可以在标签上直接添加文字的功能
所以测试时我出现了很大的麻烦,就是出现a标签,及其里面的span标签都变成了在线可编辑的状态
实际上这段代码的目的是第一句,使标签被点击时不出现背景框为白色,隐藏默认框*/
}
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /*隐藏点击时出现的背景框*/
-webkit-user-modify: read-write-plaintext-only;
/*这句话可以设置a、input,button等标签具有可以在标签上直接添加文字的功能
所以测试时我出现了很大的麻烦,就是出现a标签,及其里面的span标签都变成了在线可编辑的状态
实际上这段代码的目的是第一句,使标签被点击时不出现背景框为白色,隐藏默认框*/
}