<a class="photo-wrap" href="#"><img class="photo" src="https://picsum.photos/id/1074/800/800" alt="Lion">
  <div class="speechbox">
    <p>SitePoint Rocks!</p>
  </div>
</a>

html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: #335577;
}
.photo-wrap {
  display: flex;
  position: relative;
  margin:auto;
  border: 5px solid red;
  z-index: 1;
  width: 50%;
  min-width:320px;
}
.photo-wrap img {
  width: 100%;
  height: auto;
  z-index: -2;
}
.speechbox {
  position: absolute;
  bottom: calc(26% + 28px);
  left: 39%;
  width: 25%;
  min-width: 135px;
  height: auto;
  text-align: center;
  background: #fff;
  border: 4px solid #000;
  border-radius: 30px;
  opacity: 0.6;
  transition: opacity 1s ease, right 0s 1s;
  filter: drop-shadow(4px 4px 4px rgba(255, 255, 255, 0.6));
}

.speechbox:before,
.speechbox:after,
.speechbox p:after {
  content: "";
  bottom: -32px;
  right: 70px;
  position: absolute;
  display: block;
  width: 38px;
  height: 26px;
  border-radius: 0 0 18px 38px;
  box-shadow: 14px 14px 0px 11px #fff;
  transform: rotate(-90deg);
  z-index: -1;
}
.speechbox:before {
  box-shadow: 14px 14px 0px 14px black;
  z-index: -1;
  right: 73px;
}
.speechbox:after {
  box-shadow: 14px 14px 0px 14px black;
  z-index: -1;
}
.speechbox p {
  display: flex;
  justify-content: center;
  align-items: center;
  color: red;
  z-index: 3;
  margin: 0;
  position: relative;
  min-height: 60px;
  padding: 10px;
  background-color: #fff; /* hide spike during transition*/
  border-radius: 34px;
}

/* hover styles */
.photo-wrap:hover .speechbox {
  opacity: 1;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.