concept
Unused css — CSS reference
A rule unused during one recording may be necessary for another route, state, viewport or interaction. Coverage is session-specific evidence, not permission to delete every unmatched rule. This menu is initially hidden and uses its previously inactive selector when opened.
Formal Syntax & Structure
css syntaxcss
.menu.open { display: block; }Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>unused-css</title><style>body{margin:8px;font:16px/24px sans-serif;color:black;background:white}#a{box-sizing:border-box}.menu{display:none}.menu.open{display:block}</style><body><button onclick="document.getElementById('a').classList.toggle('open')">Toggle menu</button><nav id="a" class="menu">Navigation</nav></body></html>