Streaming live at 10am (PST)

How do you make a talk bubble using css?

How do you create a talk bubble with an arrow coming out of it? Can you use ::after?

See example css:

<div class="bubble">Talk bubble</div>

position: relative;
width: 350px;
height: 120px;
padding: 0px;
background: #FFFFFF;
-webkit-border-radius: 15px;
-moz-border-radius: 15px;
border-radius: 15px;

content: '';
position: absolute;
border-style: solid;
border-width: 0 15px 15px;
border-color: #000 transparent;
display: block;
width: 0;
z-index: 1;
top: -15px;
left: 46px;
1 Like