HTML
<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> CSS
.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;
}