Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Bulma Font family

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

Bulma font family class is used to set the font family. There is 5 font family class in Bulma. You can change the font family with the use of one of 5 font family helpers.

Font family Classes:

  • is-family-sans-serif: This class is used to set the font family of family-sans-serif.
  • is-family-monospace: This class is used to set the font family of family-monospace.
  • is-family-primary: This class is used to set the font family of family-primary.
  • is-family-secondary: This class is used to set the font family of family-secondary.
  • is-family-code: This class is used to set the font family of family-code.

Example: Below example illustrate the font family class in Bulma.

HTML




<!DOCTYPE html>
<html>
  
<head>
    <title>Bulma Typography</title>
    <link rel='stylesheet'
          href=
</head>
  
<body class="has-text-centered">
    <h1 class="is-size-2 has-text-success">
        GeeksforGeeks
    </h1>
    <b>Bulma Font family</b>
    <br>
    <div class="container">
        <p class="is-size-5 is-family-sans-serif">GeeksforGeeks</p>
  
        <p class="is-size-5 is-family-monospace">GeeksforGeeks</p>
  
        <p class="is-size-5 is-family-primary">GeeksforGeeks</p>
  
        <p class="is-size-5 is-family-secondary">GeeksforGeeks</p>
  
        <p class="is-size-5 is-family-code">GeeksforGeeks</p>
  
    </div>
</body>
</html>

Output:

Bulma Font family

Reference: https://bulma.io/documentation/helpers/typography-helpers/#font-family


My Personal Notes arrow_drop_up
Last Updated : 08 Dec, 2021
Like Article
Save Article
Similar Reads
Related Tutorials