Blog50K views3,619 votes0 replies900 following
Keep Stylus Nesting Shallow: A Practical Cap for Component CSS
Use Stylus & nesting for BEM-style components, but cap depth at two or three levels to control specificity and keep overrides simple.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Stylus & nesting for BEM-style components, but cap depth at two or three levels to control specificity and keep overrides simple.