镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Open

Description

@GifftyCode

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!

Activity

  1. shivansh84ya commented on Jul 11, 2024

    @shivansh84ya

    Could you assign this issue to me ??

  2. speedywarp commented on Aug 3, 2024

    @speedywarp

    Could you assign this issue to me ??

    @shivansh84ya are you working on this issue?

  3. ljharb commented on Aug 4, 2024

    @ljharb
    Collaborator

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

  4. harsh0728 commented on Sep 18, 2024

    @harsh0728
  5. Robbie-BOIII commented on Oct 11, 2024

    @Robbie-BOIII
  6. Sandhya-Madhuri commented on Oct 12, 2024

    @Sandhya-Madhuri

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions