About 473,000 results
Open links in new tab
  1. Using custom fonts using CSS? - Stack Overflow

    Aug 27, 2012 · Generically, you can use a custom font using @font-face in your CSS. Here's a very basic example:

  2. change Font in HTML/CSS file - Stack Overflow

    Aug 19, 2021 · Go to your CSS folder and to the fonts.css then change this to any font you want. just download a new font pack online and replace the font folder. Then route that new font folder this css. i.e

  3. html - How can I change the Bootstrap default font family using font ...

    Jun 6, 2014 · If you want the font you chose to be applied and not the one in bootstrap without modifying the original bootstrap files you can rearrange the tags in your HTML documents so your CSS files …

  4. Can you change the base font-family in Tailwind config?

    Jan 14, 2022 · 44 I’ve added new font families in my tailwind.config.js file. These are available with the .font-sans class, but I would like to change the global font-family as well. The 'tailwindcss/base' …

  5. Applying a single font to an entire website with CSS

    Apr 6, 2012 · An element inherits font-family from its parent only when no style sheet sets the font family for the element. Browser style sheets typically set font family at least for input, textarea, code, tt, and …

  6. css - How to Apply global font to whole HTML document - Stack …

    Aug 17, 2016 · 234 I have a HTML page which includes some text and formatting. I want to make it have the same font-family and the same text-size ignoring all inner formatting of text. I want to set a global …

  7. How do I change the font-family of a <button> element?

    If I do body * { font-family: 'font'; } it works but it seems hacky so, button { font-family: 'thefont', sans-serif; } doesn't work? Can you check the computer CSS properties on Dev Tools and see what is …

  8. css - How to change font-family of the headers, like h2 ... - Stack ...

    Dec 25, 2020 · Perhaps the header has a "!important" tag in the font-family css. If so, you can remove the "!important" word in the header css or add "!important" to your class.

  9. css - Font scaling based on size of container - Stack Overflow

    Learn how to scale font size dynamically based on the size of its container using CSS techniques and responsive design principles.

  10. Using CSS to set default font - Stack Overflow

    Aug 8, 2013 · The * selector, however, will apply the CSS font-family rule to the text of all elements. Note that CSS uses a specificity priority, and if you have any other CSS selectors that apply to the …