浏览器样式的变化(背景)

本文介绍了如何使用Stylus语言和CSS来改变网页的背景颜色,提供了一个实例,展示了如何通过替换链接中的图片地址来实现背景图片的自定义。
摘要由CSDN通过智能技术生成

你是不是厌倦了白色或者黑色的背景了?

你是不是想要自己决定背景的颜色或者是一张自己喜欢的图片呢

下面就是教程了

用这个,Stylus 我有关于这个的使用

只需要把https://img-blog.csdnimg.cn/direct/123278d06b254a9780174baaee89bb6e.jpeg

这个换掉就行了,是保存图片的一个网站的的地址

上一次只发了csdn的那个,期间电脑重装了系统,这个没有保存,保存一个下


body {
    background: url(https://img-blog.csdnimg.cn/direct/123278d06b254a9780174baaee89bb6e.jpeg) 0px fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
#SIvCob {
    color: #f2eff8;
}
a {
    color: #1f1f1fde;
}
.c93Gbe {
    background: #fff0;
}
.RNNXgb {
    background: #fff0;
    border: 1px solid #85eeffe0;
}
.uU7dJb {
    color: #1f1f1fde;
}
a.EzVRq, button.EzVRq {
    color: #1f1f1fde;
}
a.pHiOh {
    color: #1f1f1fde;
}

div.aajZCb {
    background: #85eeffe0;
}
.appbar {
    background: #fff0;
}
.sfbg {
    display: none;
}
.yg51vc {
    background: #fff0;
    height: 58px;
    padding: 0;
    position: relative;
    z-index: 126;
    white-space: nowrap;
}
.I6TXqe {
    background: #85eeffe0;
}
.hb8SAc {
    color: #1f1f1fde;
}
.ynAwRc {
    color: #85eeff;
}
.f6F9Be {
    background: #85eeff73;
}

svg.TYpZOd {
    display: none;
}
.s8GCU {
    background: #85eeffe0;
}
.Lj9fsd {
    background: #1f1f1fde;
}
div.jZWadf {
    background: #85eeffe0;
}
.rsGxI.Ww4FFb, .Ww4FFb {
    background-color: #FFF0;

}

  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

 很懒的人

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值