Skip to content

Specificity issue with base styles #7

@dannyuk1982

Description

@dannyuk1982

Because where: always has a specificity of 0 I am finding the base reset is overwriting the rule for a child, i.e

<div class="child:mb-5">
  <p>This will have a margin bottom of 0</p>
</div>

image

Swapping where: to is: might fix?

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