<div class="normal-balloon">
  <p>あああああああああああああああああ。</p>
</div>

<div class="thinking-balloon">
  <p>あああああああああああああああああ。</p>
</div>
p {
  margin: 0px;
}

.normal-balloon {
  max-width: 100%;
  margin: 20px 0 20px 40px;
  padding: 20px;
  position: relative;
  background-color: #fff;
  border: solid 3px #ccc;
}

.normal-balloon::before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 6px 12px;
  border-color: #fff #fff transparent transparent;
  top: 29px;
  left: -24px;
  z-index: 2;
}

.normal-balloon::after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 10px 16px;
  border-color: #ccc #ccc transparent transparent;
  top: 26px;
  left: -32px;
  z-index: 1;
}

.thinking-balloon {
  max-width: 100%;
  margin: 20px 0 20px 40px;
  padding: 20px;
  position: relative;
  border-radius: 50px;
  background-color: #fff;
  border: solid 3px #ccc;
}

.thinking-balloon::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 25px;
  top: 25px;
  left: -30px;
  border-radius: 50px;
  background-color: #fff;
  border: solid 3px #ccc;
}

.thinking-balloon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 15px;
  top: 25px;
  left: -50px;
  border-radius: 50px;
  background-color: #fff;
  border: solid 3px #ccc;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.