"corner ribbon design "
Bootstrap 3.0.0 Snippet by vishalsingh119

1
2
3
4
5
6
<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 ---------->
<h2>…as is this one…</h2>
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
h2 {
width:50%;
padding: 10px 20px 10px 10px;
margin-right: -20px;
-moz-box-shadow: -2px 2px 0 rgba(0,0,0,0.1);
-webkit-box-shadow: -2px 2px 0 rgba(0,0,0,0.1);
-o-box-shadow: -2px 2px 0 rgba(0,0,0,0.1);
box-shadow: -2px 2px 0 rgba(0,0,0,0.1);
background:red;
position:relative;
}
h2:before {
content:'';
width: 0;
height: 0;
border-color: #666 transparent transparent #666;
border-style: solid;
border-width: 5px 10px;
position: absolute;
right: 0;
bottom: -10px;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: