Skip to content

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

@Robbie-BOIII

Description

@Robbie-BOIII

@GifftyCode cloned issue airbnb/javascript#3001 on 2024-06-24:

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions