在使用chrome浏览器设计网页时,想将input背景改成透明,也就是
复制代码
background-color:transparent;
可是效果并不如人意
hack方法:
复制代码
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill{
-webkit-box-shadow: 0 0 0 1000px transparent inset;
}
1000px可以尽可能的小~~
在使用chrome浏览器设计网页时,想将input背景改成透明,也就是
复制代码
background-color:transparent;
可是效果并不如人意
hack方法:
复制代码
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill{
-webkit-box-shadow: 0 0 0 1000px transparent inset;
}
1000px可以尽可能的小~~

2023-03-07
0万阅读

2023-02-27
0万阅读

2023-02-12
9万阅读

2023-02-11
3万阅读

2023-02-11
8万阅读

2023-01-30
9万阅读

2023-01-18
3万阅读

2023-01-08
4万阅读

2023-01-07
18万阅读

2023-01-07
3万阅读

2023-03-07
0万阅读

2023-02-27
0万阅读

2023-02-12
9万阅读

2023-02-11
3万阅读

2023-02-11
8万阅读

2023-01-30
9万阅读

2023-01-18
3万阅读

2023-01-08
4万阅读

2023-01-07
18万阅读

2023-01-07
3万阅读