Advertisement
inklimg

bundlrs normal web font code

Feb 20th, 2024 (edited)
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.07 KB | None | 0 0
  1. /* REMOVE ALL COMMENTS BEFORE USING */
  2.  
  3. /*
  4. if you came here from my resource paste here are the steps to get the fonts on your bundlrs:
  5. 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
  6. 2. upload the file to your filehost of choice (ex. catbox, filegarden, dropbox)
  7. 3. use the code below for the rest!!
  8. */
  9.  
  10. @font-face {
  11.     font-family: "Font Name";
  12.     src: url("link") format("format");
  13. }
  14.  
  15. /* 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" */
  16.  
  17. /* If you want to apply the font to everything use this, otherwise use more specific selectors! */
  18.  
  19. body {
  20.     font-family: "Font Name"; /* make sure this is the same as the font name in the previous bit of code */
  21. }
  22.  
  23. *:not(body) {
  24.     font-family: inherit !important; /* make everything inherit the font from the body (in this case the custom font) */
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement