Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Specificity, Responsiveness, and Common Pitfalls Sections to CSS-in-JavaScript Style Guide #3001

Open
GifftyCode opened this issue Jun 24, 2024 · 6 comments

Comments

@GifftyCode
Copy link

I propose adding the following sections to the Airbnb CSS-in-JavaScript Style Guide:

  1. Specificity:

    • Handling CSS specificity.
    • Avoiding the use of !important.
  2. Responsiveness:

    • Best practices for media queries.
    • Techniques for building responsive components.
  3. 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!

@shivansh84ya
Copy link

Could you assign this issue to me ??

@speedywarp
Copy link

Could you assign this issue to me ??

@shivansh84ya are you working on this issue?

@ljharb
Copy link
Collaborator

ljharb commented Aug 4, 2024

Issues don’t get assigned in open source - if there’s a linked PR, great, if not, feel free to file one.

@harsh0728

This comment was marked as spam.

@Robbie-BOIII

This comment was marked as spam.

@Sandhya-Madhuri
Copy link

Hi @Robbie-BOIII I have added above sections to CSS-in-JavaScript Style Guide: readme file, please have a look at this pr #3052

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants