We would like to know how to create arrow transparent balloon.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.arrow_box {<!--from ww w .jav a 2 s . c o m-->
position: relative;
background-size: cover;
border: 4px solid #c2e1f5;
display: inline-block;
padding: 20px;
margin: 50px;
text-decoration: none;
color: #fff;
border-radius: 10px;
}
.arrow_box:after, .arrow_box:before {
top: 100%;
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.arrow_box:after {
border-color: rgba(136, 183, 213, 0);
border-top-color: #88b7d5;
border-width: 30px;
margin-left: -30px;
}
.arrow_box:before {
border-color: rgba(194, 225, 245, 0);
border-top-color: #EEEEEE;
border-width: 36px;
margin-left: -36px;
}
</style>
</head>
<body>
<a href="#" class="arrow_box">CSS ARROW PLEASE!</a>
</body>
</html>
The code above is rendered as follows: