Terminal-Prompt
Terminal-Prompt: CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.btn-093 {
font: 500 14px/1 ui-monospace,Menlo,monospace;
color: #22c55e;
background: #0a0f0a;
border: 1px solid #14532d;
border-radius: 4px;
padding: 11px 16px 11px 12px;
cursor: pointer;
transition: background .1s,box-shadow .1s
}
.btn-093::before {
content: "$ ";
color: #86efac
}
.btn-093::after {
content: "";
display: inline-block;
width: 8px;
height: 14px;
margin-left: 6px;
vertical-align: -2px;
background: #22c55e;
animation: btn-093-c 1s steps(1) infinite
}
@keyframes btn-093-c {
50% {
opacity: 0
}
}
.btn-093:hover {
background: #0f1a0f;
box-shadow: 0 0 12px rgba(34,197,94,.35)
}
.btn-093:focus-visible {
outline: 2px solid #22c55e;
outline-offset: 2px
}
.btn-093:active {
background: #14532d;
color: #fff
}
@media (prefers-reduced-motion: reduce) {
.btn-093, .btn-093 * { animation: none; transition: none; }
}
HTML
<button class="btn-093">run_build</button>Prompt
Ein Button im Terminal-Stil: fast schwarze #0a0f0a Füllung, 1px dunkelgrüner Rahmen #14532d, 4px Radius, grüner #22c55e 14px Monospace-Text mit einem helleren "$ " davor und einem blinkenden 8px mal 14px Block-Cursor danach (1s Step-Blinken). Hover fügt ein grünes Leuchten 0 0 12px bei 35% hinzu; active füllt #14532d mit weißem Text. Fokus-Outline 2px Grün.