<div class="box2 sb9">I'm speech bubble</div>
<div class="box2 sb10">I'm speech bubble</div>
<div class="box2 sb11">I'm speech bubble</div>
<div class="box2 sb12">I'm speech bubble</div>
<!-- By Coding Market -->
<div class="youtube">
<a href="https://www.youtube.com/channel/UCtVM2RthR4aC6o7dzySmExA" target="_blank">by coding market</a>
</div>
* {
margin: 0px;
paddig: 0px;
}
.box2 {
width: 300px;
margin: 50px auto;
border: 4px solid #00bfb6;
padding: 20px;
text-align: center;
font-weight: 900;
color: #00bfb6;
font-family: arial;
position: relative;
}
/* speech bubble 9 */
.sb9:before {
content: "";
width: 0px;
height: 0px;
position: absolute;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #00bfb6;
border-bottom: 10px solid transparent;
right: 50%;
bottom: -23px;
}
.sb9:after {
content: "";
width: 0px;
height: 0px;
position: absolute;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid #fff;
border-bottom: 10px solid transparent;
right: 50%;
bottom: -18px;
}
/* speech bubble 10 */
.sb10:before {
content: "";
width: 0px;
height: 0px;
position: absolute;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid transparent;
border-bottom: 10px solid #00bfb6;
right: 50%;
top: -23px;
}
.sb10:after {
content: "";
width: 0px;
height: 0px;
position: absolute;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid transparent;
border-bottom: 10px solid #fff;
right: 50%;
top: -18px;
}
/* speech bubble 11 */
.sb11:before {
content: "";
width: 0px;
height: 0px;
position: absolute;
border-left: 10px solid transparent;
border-right: 10px solid #00bfb6;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
left: -23px;
}
.sb11:after {
content: "";
width: 0px;
height: 0px;
position: absolute;
border-left: 10px solid transparent;
border-right: 10px solid #fff;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
left: -17px;
}
/* speech bubble 12 */
.sb12:before {
content: "";
width: 0px;
height: 0px;
position: absolute;
border-left: 10px solid #00bfb6;
border-right: 10px solid transparent;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
right: -23px;
}
.sb12:after {
content: "";
width: 0px;
height: 0px;
position: absolute;
border-left: 10px solid #fff;
border-right: 10px solid transparent;
border-top: 10px solid transparent;
border-bottom: 10px solid transparent;
right: -17px;
}
/* youtube link */
.youtube{
position: fixed;
bottom: 10px;
right: 10px;
width: 160px;
text-align: center;
padding: 15px 10px;
background: #bb0000;
border-radius: 5px;
}
.youtube a{
text-decoration: none;
color: #fff;
text-transform: capitalize;
letter-spacing: 1px;
}
/* Fell free to visit my youtube channel for more updates,
https://www.youtube.com/channel/UCtVM2RthR4aC6o7dzySmExA
*/
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.