Modals have three optional sizes, available via modifier classes to be placed on a `.modal-dialog`. These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports.
+<table class="table table-striped">
+ <thead>
+ <tr>
+ <th>Size</th>
+ <th>Class</th>
+ <th>Modal max-width</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Small</td>
+ <td><code>.modal-sm</code></td>
+ <td><code>300px</code></td>
+ </tr>
+ <tr>
+ <td>Default</td>
+ <td class="text-muted">None</td>
+ <td><code>500px</code></td>
+ </tr>
+ <tr>
+ <td>Large</td>
+ <td><code>.modal-lg</code></td>
+ <td><code>800px</code></td>
+ </tr>
+ <tr>
+ <td>Extra large</td>
+ <td><code>.modal-xl</code></td>
+ <td><code>1140px</code></td>
+ </tr>
+ </tbody>
+</table>
+
+Our default modal without modifier class constitutes the "medium" size modal.
+
<div class="bd-example">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-xl">Extra large modal</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bd-example-modal-lg">Large modal</button>