Skip to content

Instantly share code, notes, and snippets.

I would use a checkbox instead so you can just use a label if you want to link to it:
<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-css -->
.spoilerbutton {
display: none;
> Does this apply to user literal operators?
Yes and No. If we look at the grammar at the start of [\[over.literal\]][1] we have
operator string-literal identifier
operator user-defined-string-literal
as the different kinds of literals. The `operator string-literal identifier` way is when you have a literal like
operator "" _some_name