今天看了两个分享 自定义 CSS 的主题
把它们结合了下,然后增加了背景图片的淡出,自己用了半天感觉还不错,分享出来大家有兴趣的试试
@import url("//jkjoke.b0.upaiyun.com/css/v2ex.css");
body { background-color: #efefef; background-image: url(https://unsplash.it/1600/900?random); background-repeat: no-repeat; background-attachment: fixed; background-position: center 0; background-size: cover; }
#Wrapper{ background-color: transparent; animation-delay: 2s; -webkit-animation-delay: 2s; animation: fadein 5s; -webkit-animation: fadein 5s; }
@-webkit-keyframes fadein { from { background-color: rgba(239, 239, 239, 255); } to { background-color: rgba(239, 239, 239, 0); } }
@keyframes fadein { from { background-color: rgba(239, 239, 239, 255); } to { background-color: rgba(239, 239, 239, 0); } }
#Main, #Top, #Rightbar { opacity: 0.95; }