Css样式

1、文本域内容解析换行,解析换行符

white-space: pre-wrap;

2、网站全局黑白色

/* 须在html上设置 */
html {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
}
Copyright © blog.wdg.pub 2020 all right reserved,powered by Gitbook该文件修订时间: 2020-04-07 11:31:38

results matching ""

    No results matching ""