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

2018-06-14 17:59:20 浏览数 (4)

代码语言:javascript复制
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:
代码语言:javascript复制
::-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; }
代码语言:javascript复制
ios日期兼容:
代码语言:javascript复制
new Date(res.data[i].inventoryDate.replace(/-/g, "/"));

0 人点赞