Firefox主页背景图片的添加
Firefox主页背景图片的添加
添加流程
@-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) { .top-site-button .title, .context-menu-button { color: #fff !important ; text-shadow: 2px 2px 2px #222 !important ; } .logo-and-wordmark { display: none !important; } body { --newtab-topsites-outer-card-hover:rgba(255, 255, 255, 0.4) !important; --newtab-element-hover-color: rgba(255, 255, 255, 0.3) !important; } body::before { content: "" ; z-index: -1 ; position: fixed ; top: 0 ; left: 0 ; background:no-repeat url(img.jpg) center ; background-size: cover ; width: 100vw ; height: 100vh ; } }
css的解释
Last updated