Wrap notes in /* … */. Use them to label sections of a stylesheet, explain a non-obvious value, or temporarily switch off a rule while debugging. Unlike HTML, CSS has only this one comment syntax, and comments can't nest.
Wrap notes in /* … */. Use them to label sections of a stylesheet, explain a non-obvious value, or temporarily switch off a rule while debugging. Unlike HTML, CSS has only this one comment syntax, and comments can't nest.
<!doctype html><html><head><meta charset="utf-8">
<style>/* layout */ body{background:#06040d;color:#e6e0ff;padding:20px} /* h1{color:#b388ff} */</style></head><body><h1>comment toggles me</h1></body></html>▶ Open the interactive comic issue