::-webkit-input-placeholder { /* Chrome/Opera/Safari */ position: relative; top: 4px; } ::-moz-placeholder { /* Firefox 19+ */ position: relative; top: 4px; } :-ms-input-placeholder { /* IE 10+ */ position: relative; top: 4px; } :-moz-placeholder { /* Firefox 18- */ position: relative; top: 4px; }
设置input 中placeholder的样式
猜你喜欢
转载自www.cnblogs.com/muou2125/p/11613496.html
今日推荐
周排行