placeholder的字体样式改变,滚动条的颜色改变,ios日期兼容

placeholder:

::-webkit-input-placeholder { color: rgba(153, 153, 153, 0.541);font-size:12px;}
:-moz-placeholder {color: rgba(153, 153, 153, 0.541);font-size:12px;}
::-moz-placeholder {color: rgba(153, 153, 153, 0.541);font-size:12px;}
:-ms-input-placeholder {color: rgba(153, 153, 153, 0.541);font-size:12px;}

scollbar:
::-webkit-scrollbar {width:6px; border-radius: 3px;background-color:#eff0f3;  opacity: 0.1; z-index: 309;}
::-webkit-scrollbar-thumb{ border-radius: 3px; background-color: #c19b74; opacity: 0.1; z-index: 309; }

ios日期兼容:

new Date(res.data[i].inventoryDate.replace(/-/g, "/"));

posted on 2017-02-06 18:21  杨龙飞  阅读(364)  评论(0编辑  收藏  举报

导航

Fork me on GitHub