Last week, I posted something comparing form styling with Bulma to form styling with Bootstrap and I was a little perplexed that the Bootstrap docs steered me wrong. You can see what I mean in this pen.
See the Pen
Font weight and text alignment classes in bootstrap by Joe Steinbring (@steinbring)
on CodePen.
Well, since then, I figured out the problem. When Bootstrap moved from 4.x to 5.x, they changed the classes for a lot of this and the 4.x docs don’t link to the 5.x docs.
So, let’s take a look at the new syntax.
See the Pen
Font weight and text alignment classes in bootstrap by Joe Steinbring (@steinbring)
on CodePen.
Have any questions, comments, etc? Feel free to drop a comment, below.
[ Cover photo by Nathan Dumlao on Unsplash ]