Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* REMOVE ALL COMMENTS BEFORE USING */
- /*
- if you came here from my resource paste here are the steps to get the fonts on your bundlrs:
- 1. click the name of the font you want, you'll be prompted to download a file, it can be .ttf, .otf, .woff, or .woff2
- 2. upload the file to your filehost of choice (ex. catbox, filegarden, dropbox)
- 3. use the code below for the rest!!
- */
- @font-face {
- font-family: "Font Name";
- src: url("link") format("format");
- }
- /* Replace "Font Name" with the name of your font, and "link" with the link from your file host. For format, if it's a .otf file put "opentype", if it's a .ttf file put "truetype", if it's a .woff file put "woff", and if it's a .woff2 file put "woff2" */
- /* If you want to apply the font to everything use this, otherwise use more specific selectors! */
- body {
- font-family: "Font Name"; /* make sure this is the same as the font name in the previous bit of code */
- }
- *:not(body) {
- font-family: inherit !important; /* make everything inherit the font from the body (in this case the custom font) */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement