19 CSS Blockquote Designs

Speech Bubble

Chat-style rounded bubble with a tail pointing to the avatar. Common pattern for testimonial walls, support pages, and case studies.

Pure CSS MIT licensed

Speech Bubble the 6th of 19 designs in the 19 CSS Blockquote Designs collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.

Live preview

Open in playground

The code

<figure class="cbq-speech">
  <div class="cbq-speech-bubble">
    <blockquote>
      <p>Codefronts cut my prototype time in half. Just snippets that work.</p>
    </blockquote>
  </div>
  <figcaption class="cbq-speech-meta">
    <span class="cbq-speech-avatar" aria-hidden="true">A</span>
    <span><strong>Aisha M.</strong> · frontend dev</span>
  </figcaption>
</figure>
.cbq-speech {
  max-width: 320px;
  font-family: system-ui, sans-serif;
}

.cbq-speech-bubble {
  position: relative;
  padding: 16px 18px;
  background: #1f1f2e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px 16px 16px 4px;
  color: #f0eeff;
}

.cbq-speech-bubble::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: #1f1f2e;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transform: rotate(45deg);
}

.cbq-speech-bubble blockquote {
  margin: 0;
}

.cbq-speech-bubble p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
}

.cbq-speech-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-left: 8px;
  font-size: 12px;
  color: #b8b6d4;
}

.cbq-speech-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c6cff, #ff6c8a);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.cbq-speech-meta strong {
  color: #f0eeff;
  font-weight: 600;
}

Search CodeFronts

Loading…