CSS常用样式
1.placeholder 右对齐
text-align:right; //只能满足苹果手机,不兼容安卓。 ::-webkit-input-placeholder {color: #c7c7c7; direction: rtl; font-size:1.2rem;} :-moz-placeholder {color: #c7c7c7; direction: rtl;font-size:1.2rem;} ::-moz-placeholder {color: #c7c7c7; direction: rtl;font-size:1.2rem;} :-ms-input-placeholder {color: #c7c7c7; direction: rtl;font-size:1.2rem;}
2.css图片置灰
-webkit-filter:grayscale(100%);
-moz-filter:grayscale(100%);
-ms-filter:grayscale(100%);
-o-filter:grayscale(100%);
filter:grayscale(100%);
filter:gray;