Created
November 13, 2020 06:38
-
-
Save caseyavila/7817b5c91d278b9c3c1b218e265af437 to your computer and use it in GitHub Desktop.
Firefox about:newtab background image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
1. Set toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config | |
2. Place this file (userContent.css) in the chrome directory of your firefox profile | |
3. Place an image *hello.jpg* in the same directory as this file | |
*/ | |
@-moz-document url(about:home), url(about:newtab), url(about:privatebrowsing) { | |
body::before { | |
content: ""; | |
z-index: -1; | |
position: fixed; | |
top: 0; | |
left: 0; | |
background: url(hello.jpg) center; | |
background-size: cover; | |
width: 100vw; | |
height: 100vh; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment