Happy New Year fellow World Anvil tinkers! I hope your 2019 was a good one and that 2020 is even better.
We have something special for you for January. I’m so excited to share this!
Are you ready?
Welcome to Bootstrap containers month!
For Grandmasters +
What we’ll cover:
Introduction
Disclaimer
I (Amy, the author of this article) have read the W3Schools Copyright info and am providing these conversion tutorials for educational value, not for profit. I do not claim rights to the W3 examples.
Some examples work slightly differently than the W3 samples.
Your containers may look different from mine because of different themes/styles for WA.
Below I’ll share different container with classes, then in the light grey boxes will be the WA Code (formerly BBCode) to create them for you to copy and paste.
COLUMNS
[row] [container:col-sm-3] col-sm-3 text [/container] [container:col-sm-6] col-sm-6 text [/container] [container:col-sm-3] col-sm-3 text [/container] [/row]
SPACERS
Margin and padding spacers. (No image)
[container:mt-2] [/container]
The remainder of the examples should be self explanatory, so I’ll spare you the verbiage about each one and let you continue on to them!
JUMBOTRON
[container: jumbotron] JUMBOTRON [/container]
WELLS
[container: well] WELL [/container]
ALERTS
[container: alert alert-success]alert-success[/container]
[container: alert alert-info]alert-info[/container]
[container: alert alert-warning]alert-warning[/container]
[container: alert alert-danger]alert-danger[/container]
BUTTONS
[container: btn]btn [/container]
[container: btn btn-default]btn-default [/container]
[container: btn btn-primary]btn-primary [/container]
[container: btn btn-success]btn-success [/container]
[container: btn btn-info]btn-info [/container]
[container: btn btn-warning]btn-warning [/container]
[container: btn btn-danger]btn-danger [/container]
[container: btn btn-link]btn-link [/container]
BUTTON GROUPS
[container: btn-group] [container: btn btn-primary]Pudding[/container] [container: btn btn-primary]Bonbon[/container] [container: btn btn-primary]Candy[/container] [/container]
BADGES
[section: badge]5[/section]
LABELS
[section: label label-default]NEW[/section]
Use the name of the buttons below as the name of the class.
For example: label-primary or label-success.
Coming Soon
More bootstrap containers are on deck for the next post. So hang in there – it won’t be long!
Make Your World Look Awesome!
Let us know how you use these containers. We’d love to see your creations posted in the WA Discord #guild-showcase.
Until next time, my fellow Tinkersmiths!