Created
December 8, 2018 17:33
Modfying width in a Bootstrap modal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
@media (min-width: 768px) { | |
.modal-xl { | |
width: 90%; | |
max-width:1200px; | |
} | |
} | |
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> | |
<div class="modal-dialog modal-xl" role="document"><!-- cf http://output.jsbin.com/yefas/1 --> | |
<div class="modal-content"> | |
... | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment