Created
July 9, 2012 09:52
-
-
Save bugsysop/3075486 to your computer and use it in GitHub Desktop.
Twitter Bootstrap - JS Alerts
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
<!--Yellow block--> | |
<div class="alert fade in"> | |
<button class="close" data-dismiss="alert">×</button> | |
<strong>Holy guacamole!</strong> Best check yo self, you're not looking too good. | |
</div> | |
<!--Green block--> | |
<div class="alert alert-success fade in"> | |
<button class="close" data-dismiss="alert">×</button> | |
<strong>User1</strong> send you message | |
</div> | |
<!--Blue block--> | |
<div class="alert alert-info fade in"> | |
<button class="close" data-dismiss="alert">×</button> | |
<strong>User1</strong> send you message | |
</div> | |
<!--Red block--> | |
<div class="alert alert-block alert-error fade in"> | |
<button class="close" data-dismiss="alert">×</button> | |
<h4 class="alert-heading">Oh snap! You got an error!</h4> | |
<p>Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.</p> | |
<p> <a class="btn btn-danger" href="#">Take this action</a> <a class="btn" href="#">Or do this</a></p> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment