# Chat-Blasen (C 079)

Kategorie: Cards  
Tags: chat, messages, bubbles, dark, conversation  
Seite: https://designforai.dev/de/snippet/card-079

## Prompt

Baue eine 320px Chat-Card auf #0f172a mit 18px Radius und 16px Padding, die Nachrichtenblasen mit 8px Gap stapelt. Eingehende Blasen sind links ausgerichtet auf #1e293b mit #e2e8f0 Text und Radius 16px 16px 16px 4px (kleine Ecke unten links); ausgehende Blasen sind rechts ausgerichtet auf Blau #3b82f6 mit weißem Text und Radius 16px 16px 4px 16px. Blasen sind max 78% breit, 14px Text, 9px 13px Padding und werden beim Hover leicht heller.

## HTML

```html
<div class="card-079">
  <p class="card-079__them">Can the card flip without JavaScript?</p>
  <p class="card-079__me">Yes. A checkbox and :checked does it.</p>
  <p class="card-079__them">Keyboard accessible?</p>
  <p class="card-079__me">If the input stays focusable, yes.</p>
</div>
```

## CSS

```css
.card-079 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 320px;
  padding: 16px;
  background: #0f172a;
  border-radius: 18px;
  font-family: system-ui,sans-serif
}
.card-079 p {
  margin: 0;
  max-width: 78%;
  padding: 9px 13px;
  font-size: 14px;
  line-height: 1.4
}
.card-079__them {
  align-self: flex-start;
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 16px 16px 16px 4px
}
.card-079__me {
  align-self: flex-end;
  background: #3b82f6;
  color: #fff;
  border-radius: 16px 16px 4px 16px
}
.card-079 p:hover {
  filter: brightness(1.1)
}
```
