Block Level Button - doesn't work?

Hi, I’m trying to make a button stretch across the full width of its parent, as per this doc: Buttons · Bootstrap

I don’t see such option in the UI settings so I’m adding the btn-block class manually.
However, that doesn’t work i.e. it doesn’t do anything:

The class btn-block isn’t available in the suggestions popup, and even if I type it anyway, it still won’t work.

Can someone please let me know what I’m doing wrong?

To reproduce, simply drop a button within a div or a container.

Thanks

Try with add the class w-100 on the button

1 Like

Awesome, that worked! Thanks!

FYI, you are looking at bs4 documentation, hope that helps

wow… thanks for pointing that out Richards. That explains it all…

I’ll remember to check myself next time, instead of blindly trusting google