设置输入框placeholder文字颜色
生活随笔
收集整理的這篇文章主要介紹了
设置输入框placeholder文字颜色
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
輸入框placeholder文字默認(rèn)顏色主要是要兼容 火狐,IE 和 谷歌瀏覽器
.list-panel-hd .search-form input:-ms-input-placeholder {color: #4effe1;}.list-panel-hd .search-form input::-moz-placeholder {color: #4effe1;}.list-panel-hd .search-form input::-moz-placeholder {/* Mozilla Firefox 19+ */color: #4effe1;}.list-panel-hd .search-form input::-webkit-input-placeholder {color: #4effe1;}例如使用 :-ms-input-placeholder 給火狐瀏覽器里面的,輸入框placeholder文字設(shè)置顏色#4effe1
總結(jié)
以上是生活随笔為你收集整理的设置输入框placeholder文字颜色的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 久坐不动也会伤膝盖,这是真的吗?蚂蚁庄园
- 下一篇: 猜一猜:“水果之王”榴莲与我国历史上的哪