"Alerts Messages"
Bootstrap 3.0.3 Snippet by saikrishnatuduru

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- http://www.jquery2dotnet.com --> <div class="alert alert-success" style = "height:35px;padding-top:8px;width:50%;Float:left;margin-left:10%;"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"> ×</button> <span class="glyphicon glyphicon-ok"></span> You successfully read this important alert message. </div> <br/><br/><br/> <div class="alert alert-danger" style = "height:35px;padding-top:8px;width:50%;Float:left;"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true"> ×</button> <span class="glyphicon glyphicon-exclamation-sign"></span> Change a few things up and try submitting again. </div>
body { margin-top:30px; } hr.message-inner-separator { clear: both; margin-top: 10px; margin-bottom: 13px; border: 0; height: 1px; background-image: -webkit-linear-gradient(left,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.15),rgba(0, 0, 0, 0)); background-image: -moz-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0)); background-image: -ms-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0)); background-image: -o-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0)); }

Related: See More


Questions / Comments: