Add Specificity, Responsiveness, and Common Pitfalls Sections to CSS-in-JavaScript Style Guide
I propose adding the following sections to the Airbnb CSS-in-JavaScript Style Guide:
-
Specificity:
- Handling CSS specificity.
- Avoiding the use of
!important.
-
Responsiveness:
- Best practices for media queries.
- Techniques for building responsive components.
-
Common Pitfalls:
- Common mistakes and how to avoid them.
- Debugging tips for CSS-in-JavaScript issues.
These additions will provide valuable guidelines to help developers write more effective and maintainable styles.
Request:
I would like to contribute to the guide by drafting these sections. Please let me know if this aligns with the project’s goals and if I can proceed.
Thank you!
Could you assign this issue to me ??
Could you assign this issue to me ??
@shivansh84ya are you working on this issue?
Issues don’t get assigned in open source - if there’s a linked PR, great, if not, feel free to file one.
/attempt #3001
Kamino cloned this issue to Robbie-BOIII/test
Hi @Robbie-BOIII I have added above sections to CSS-in-JavaScript Style Guide: readme file, please have a look at this pr https://github.com/airbnb/javascript/pull/3052