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
<label for="modal-switch" class="btn btn-default btn-primary" role="button" data-toggle="modal" data-target="#myModal">Launch demo modal</label> | |
<!-- Modal --> | |
<div class="pure-css-bootstrap-modal"> | |
<style> | |
.pure-css-bootstrap-modal { | |
position: absolute; /* Don't take any space. */ | |
} | |
.pure-css-bootstrap-modal label.close { | |
/* Reset */ | |
padding: 0; |