Skip to content

Breakpoints for fs-1, fs-2.... classes #36392

Answered by mdo
Levan777 asked this question in Q&A
Discussion options

You must be logged in to vote

Your problem lies in how you're referencing the utility itself. If you look at the utility source code for font-size, you'll see it's named after the property and not the shorthand notation

https://github.com/twbs/bootstrap/blob/416f4905f13c2ca3096343e0a5a4934c8c0ced3f/scss/_utilities.scss#L461:L466

Check the docs again for how to modify the utilities maps.

https://getbootstrap.com/docs/5.2/utilities/api/#enable-responsive

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@mdo
Comment options

@Levan777
Comment options

@mdo
Comment options

@bradmkjr
Comment options

@macrodesignuk
Comment options

Answer selected by mdo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants