Neonröhren-Kante
Neonröhren-Kante: CSS-Card. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
Neon edge
Layered box-shadows fake a glowing tube around the border.
CSS
.card-092 {
width: 270px;
padding: 24px;
background: #050510;
border: 1px solid #f0abfc;
border-radius: 14px;
font-family: system-ui,sans-serif;
color: #fdf4ff;
box-shadow: 0 0 6px #e879f9,0 0 18px rgba(232,121,249,.5),inset 0 0 12px rgba(232,121,249,.25);
transition: box-shadow .25s,border-color .25s
}
.card-092:hover {
border-color: #fff;
box-shadow: 0 0 10px #e879f9,0 0 32px rgba(232,121,249,.7),0 0 64px rgba(232,121,249,.35),inset 0 0 18px rgba(232,121,249,.35)
}
.card-092 span {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 11px;
font-weight: 700;
letter-spacing: .14em;
text-transform: uppercase;
color: #f0abfc
}
.card-092 span::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
background: #f0abfc;
box-shadow: 0 0 8px #f0abfc;
animation: card-092-blink 1.4s infinite
}
.card-092 h3 {
margin: 10px 0 6px;
font-size: 22px;
text-shadow: 0 0 10px rgba(240,171,252,.8)
}
.card-092 p {
margin: 0;
font-size: 14px;
line-height: 1.5;
color: #d8b4fe
}
@keyframes card-092-blink {
50% {
opacity: .3
}
}
@media (prefers-reduced-motion: reduce) {
.card-092, .card-092 * { animation: none; transition: none; }
}
HTML
<article class="card-092">
<span>Live</span>
<h3>Neon edge</h3>
<p>Layered box-shadows fake a glowing tube around the border.</p>
</article>Prompt
Erstelle eine 270px Neon-Card: Hintergrund #050510, 1px Rahmen in Pink #f0abfc, 14px Radius, 24px Padding. Täusche eine leuchtende Röhre mit gestapelten Schatten vor: 0 0 6px #e879f9, 0 0 18px rgba(232,121,249,.5) und ein inset 0 0 12px Pink; beim Hover wird der Rahmen weiß und der Glow weitet sich auf 32px und 64px Ebenen. Ein 11px Versalien-Label "Live" mit blinkendem 6px pinkem Punkt (1.4s), ein 22px Titel mit pinkem Textglow und 14px Text in #d8b4fe.