Skip to content
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 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@Levan777
Comment options

@mdo
Comment options

mdo May 20, 2022
Maintainer

@bradmkjr
Comment options

@macrodesignuk
Comment options

@zhixXiang
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
5 participants