开发者

Change input background to transparent in Safari

开发者 https://www.devze.com 2023-01-09 02:34 出处:网络
Is it possible to eliminate the white background (v开发者_StackOverflow中文版ia CSS) in the input and textareas when you click in the field using Safari or any other browser?Here is my link: link text

Is it possible to eliminate the white background (v开发者_StackOverflow中文版ia CSS) in the input and textareas when you click in the field using Safari or any other browser? Here is my link: link text

Cheers.

Erik


Your :focus rule overrides it. Make another rule that's more specific to counter that?

.postcard input:focus, textarea:focus {
    background:url("/img/pixel.gif") repeat scroll 0 0 transparent;
}
0

精彩评论

暂无评论...
验证码 换一张
取 消