-
Guys, I'm trying to add fs-{breakpoint}-n classes (for example fs-md-2) using this code:
Seems like I'm missing something. Can you help? It's not generating anything... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Is this community alive? |
Beta Was this translation helpful? Give feedback.
-
Your problem lies in how you're referencing the utility itself. If you look at the utility source code for Check the docs again for how to modify the utilities maps. https://getbootstrap.com/docs/5.2/utilities/api/#enable-responsive |
Beta Was this translation helpful? Give feedback.
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 notationhttps://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