pseudo-element
::-webkit-inner-spin-button — CSS reference
Nonstandard vendor pseudo-element for the number input spinner. Native control parts depend on engine and appearance; parsing a prefixed selector does not prove the internal part exists or is painted. Preserve native semantics, labels and keyboard operation. The standard host styling example is a limited alternative, not exact internal styling.
Formal Syntax & Structure
css syntaxcss
input[type=number]::-webkit-inner-spin-buttonWorking Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::-webkit-inner-spin-button</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{width:80px}input[type=number]::-webkit-inner-spin-button{background-color:green}</style><body><label>Quantity <input id="a" type="number" value="2" min="0" max="5"></label></body></html>