"Alert Messages like the docs"
Bootstrap 3.0.3 Snippet by BhaumikPatel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<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 ---------->
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-6">
<div class="alert-message alert-message-success">
<h4>
Alert Message Success</h4>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s.<strong> strong
message</strong>. <a href="http://www.jquery2dotnet.com/2013/07/cool-notification-css-style.html">
Cool Notification Css Style</a></p>
</div>
</div>
<div class="col-sm-6 col-md-6">
<div class="alert-message alert-message-danger">
<h4>
Alert Message Danger</h4>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. For performance
reasons, the Tooltip and Popover data-apis are opt-in, meaning <strong>strong message</strong>.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-6">
<div class="alert-message alert-message-warning">
<h4>
Alert Message Warning</h4>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s.<strong> strong
message</strong>.</p>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.alert-message
{
margin: 20px 0;
padding: 20px;
border-left: 3px solid #eee;
}
.alert-message h4
{
margin-top: 0;
margin-bottom: 5px;
}
.alert-message p:last-child
{
margin-bottom: 0;
}
.alert-message code
{
background-color: #fff;
border-radius: 3px;
}
.alert-message-success
{
background-color: #F4FDF0;
border-color: #3C763D;
}
.alert-message-success h4
{
color: #3C763D;
}
.alert-message-danger
{
background-color: #fdf7f7;
border-color: #d9534f;
}
.alert-message-danger h4
{
color: #d9534f;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

Very good, i was searching for this

Luis Abarca () - 10 years ago - Reply 0


Looks great!

Ken Verhaegen () - 11 years ago - Reply 0