property

Appearance — CSS reference

Removes native widget styling where supported without removing the control semantics. Supply visible borders, checked states and focus indicators when restyling checkboxes. The example uses a real labeled checkbox.

Formal Syntax & Structure

css syntaxcss
appearance: none;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>appearance</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}#a{appearance:none}#a{width:24px;height:24px;border:2px solid #345}#a:checked{background:#345}#a:focus-visible{outline:3px solid orange}</style><body><label><input id="a" type="checkbox" checked> Subscribe</label></body></html>
CSS Reference