Sheen sweep dark

Sheen sweep dark: a CSS button. Copy the rules, or the prompt that rebuilds it.

shinesheensoliddarksweep

CSS
.btn-071 {
  position: relative;
  overflow: hidden;
  font: 600 14px/1 system-ui,sans-serif;
  color: #fff;
  background: #111827;
  border: 0;
  border-radius: 8px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background .2s
}
.btn-071::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,.35),transparent);
  transform: skewX(-20deg);
  transition: left .5s ease
}
.btn-071:hover::after {
  left: 125%
}
.btn-071:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 3px
}
.btn-071:active {
  background: #000
}
HTML
<button class="btn-071">Shine</button>
Prompt

A dark #111827 button with white 14px semibold text, 8px radius, 12px by 26px padding. On hover a skewed diagonal band of light (transparent to 35% white to transparent) sweeps across from left to right over 500ms, like a sheen on glass. Active #000. Focus outline 2px dark.