"alert bootstrap float-right"
Bootstrap 3.0.0 Snippet by novadevco

1
2
3
4
5
6
7
8
9
10
11
12
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/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="pull-alert">
<div class="alert alert-success pull-right" >
<button type="button" class="btn btn-default btn-circle btn-xl-alert btn-lateral btn-float-alert"><i class="glyphicon glyphicon-envelope"></i></button>
<hr class="hr-alert">
<strong>¡Lo sentimos! ha ocurrido un error al cargar el archivo</strong>
</div>
</div>
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{
position: absolute;
padding-right: 55px;
width: 300px;
margin-top: 40px;
border-radius: 15px;
background-color: #FFF;
color: #283896;
-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
display: none;
}
/*alert-success*/
.alert-success button{
background-color: #008ECF;
color:#FFF;
}
.alert-success hr{
border-color: #008ECF;
}
/**/
/*alert-warning*/
.alert-warning button{
background-color: #E5A218;
color:#FFF;
}
.alert-warning hr{
border-color: #E5A218;
}
/**/
/*alert-error*/
.alert-error button{
background-color: #FF0000;
color:#FFF;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
$(document).ready(function () {
$('.alert').fadeIn();
setTimeout(function(){
$('.alert').fadeOut()
}, 7000);
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: