Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Document preference for hyphenated class and ID values.
Karl Stolleydeabb8ed53f0
diff --git a/docs/contributing/code-style.md b/docs/contributing/code-style.mdindex a5ebf3c0dac..5921037f5b4 100644--- a/docs/contributing/code-style.md+++ b/docs/contributing/code-style.md@@ -323,6 +323,10 @@ Don't use the tag name in a selector unless you have to. In other words,use `.foo` instead of `span.foo`. We shouldn't have to care if the tagtype changes in the future.+Additionally, multi-word class and ID values should be hyphenated,+also known as _kebab case_. In HTML, opt for `class="my-multiword-class"`,+with its corresponding CSS selector as `.my-multiword-class`.+### Python- Our Python code is formatted with