This repository was archived by the owner on Feb 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 310
E022
cvrebert edited this page Dec 10, 2014
·
2 revisions
Modal markup should not be placed within other components, so as to avoid the component's styles interfering with the modal's appearance or functionality
As noted in the Modal plugin's documentation:
Always try to place a modal's HTML code in a top-level position in your document to avoid other components affecting the modal's appearance and/or functionality.
Which is to say that the <div class="modal">
should not be buried within the markup for another component, such as a <table>
or navbar (which are both known to be particularly problematic). It should be a child of the <body>
or of a relatively high-level division of your webpage.
Bootlint documentation wiki content is licensed under the CC BY 3.0 License, and based on Bootstrap's docs which are copyright Twitter, Inc.