Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Font size utility classes


I appreciate your amazing work on templates.
Saw on landing usage of fs-6 fs-lg-4 , tried to use it myself expecting behavior like in all Bootstrap5 responsive items(cols, paddings, flex alignments, etc.) but it was not behaving like that.
In code I found that there is only 2 breakpoints general and >1200px, is it some sort of bug/mistake or is that the Way?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Yes, but why in compiled version of css bundle there is fs-1 fs-2 fs-3 fs-sm-* fs-md-* fs-lg-* redefined in @media(min-width: 1200px) and according to compiled css xl is for @media(min-width: 1200px) and lg is for @media(min-width: 992px) ?



Hi,

We use standard Bootstrap API to extended the font size utility classes.
Please refer to the Utility classes API.


"font-size": (
rfs: true,
responsive: true,
property: font-size,
class: fs,
values: $font-sizes
),


Regards.



Hi,

This is how the standard Bootstrap responsive mode works. fs-6 is applied for all breakpoints while fs-lg-4 is applied for breakpoints > 1200px. This is how all Bootstrap utilitly classes work.

Regards.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(