.close
button for .alert
must be the first element in the .alert
Wrong:
<div class="alert alert-warning alert-dismissible" role="alert"> You're not looking too good. <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> Better check yourself </div> <div class="alert alert-warning alert-dismissible" role="alert"> <ul> <li>Other elements like this list should come after the close button</li> </ul> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> Better check yourself, you're not looking too good. </div>
Right:
<div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> Better check yourself, you're not looking too good. </div> <div class="alert alert-warning alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> <ul> <li>Other elements like this list should come after the close button</li> </ul> Better check yourself, you're not looking too good. </div>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4