Teilen-Pille Zähler
Teilen-Pille Zähler: CSS-Button. Kopiere die Regeln oder den Prompt, der das Ergebnis nachbaut.
CSS
.btn-190 {
display: inline-flex;
align-items: center;
gap: 8px;
font: 600 14px/1 system-ui,sans-serif;
color: #fff;
background: #0369a1;
border: 0;
border-radius: 999px;
padding: 0 4px 0 16px;
height: 40px;
cursor: pointer;
transition: background .15s
}
.btn-190 b {
font: 600 12px/1 system-ui,sans-serif;
color: #0369a1;
background: #fff;
border-radius: 999px;
padding: 0 10px;
height: 32px;
display: grid;
place-items: center;
margin-left: 4px;
transition: background .15s
}
.btn-190:hover {
background: #0284c7
}
.btn-190:hover b {
background: #e0f2fe
}
.btn-190:focus-visible {
outline: 2px solid #0369a1;
outline-offset: 3px
}
.btn-190:active {
background: #075985
}
HTML
<button class="btn-190"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8a3 3 0 1 0-2.8-4M6 15a3 3 0 1 0 0 .1M18 21a3 3 0 1 0-2.8-4M8.6 13.5l6.8 3.9M15.4 6.6l-6.8 3.9"/></svg>Share<b>1.2k</b></button>Prompt
Eine blaue #0369a1 Teilen-Pille, 40px hoch, mit einem 15px Inline-Share-Nodes-Icon und "Share" in weiß 14px semibold, gefolgt von einer weißen inneren Pille als Zähler mit "1.2k" in 12px blau, 4px von der rechten Kante. Hover #0284c7 mit #e0f2fe getöntem Zähler; Active #075985. Focus: 2px blaue Outline.