用【大白自定义】把网站变灰色,变怀旧感
xiunoa 2020-7-17

代码放到  全局 : html > head (css)

1.灰色滤镜(默哀感)

<style>html{
     -webkit-filter: grayscale(100%);
     -o-filter: grayscale(100%);
     -moz-filter: grayscale(100%);
     -ms-filter: grayscale(100%);
     filter: grayscale(100%);  }</style>

2.色相反转(诡异感)

<style>html{
     -webkit-filter: hue-rotate(200deg);
     -moz-filter: hue-rotate(200deg);
     -o-filter: hue-rotate(200deg);
     -ms-filter: hue-rotate(200deg);
     filter: hue-rotate(200deg); }</style>

3.岁月痕迹(怀旧感)

<style>html{
    -webkit-filter: sepia(100%);  
    -moz-filter:sepia(100%);
    -o-filter: sepia(100%);
    -ms-filter: sepia(100%);
    filter: sepia(100%); }</style>


最新回复 (2)
全部楼主
  • 小白白888
    2022-11-30 2
    0
    具体在哪个文件里,没找到
  • xiaobai
    5月前 3
    0
    沙发我没有,板凳我没有,板也没有,只好站在后面排队支持! 
返回