自定义css写了又没人用,我自己玩吧 [复制链接]

 
帖子地址已经复制到剪贴板
 
一夜七次郎 11月前 1073

潦草配几个背景,换个风味还不错

CSS代码如下:

.search_box {
    background: url("https://img.hk/i/2024/06/02/665c4b9cbaf55.png");
    background-size: 100% 100%;
}
#result {
    background: url("https://img.hk/i/2024/06/02/665c488845c26.png");
    background-size: cover;
    background-position: center;
}
#main, #text {
    background: rgba(0, 0, 0, 0.4);
}
#text, #text a {
    color: #dddddd;
}
#search_button {
    background: rgba(0, 0, 0, 0.5);
}
#search_input {
    background: rgba(255,255,255,0.7);
}
@media screen and (min-width: 630px) {
    .background {
        background: url("https://img.hk/i/2024/06/02/665c511151e06.png");
        background-size: 100% 100%;
    }
}

最新回复 (4)
  • 龙哥 11月前
    2

    返璞归真才是硬道理!

  • 郡主 11月前
    3

    用上了已经

  • 用户名 11月前
    4

    平平淡淡才是真

  • hahahaha 11月前
    5

    看多了现在的各种简洁、极简,反而看你这个真的挺舒服的

返回
创建新帖