Skip to content

The base style abbr[title] has high specificity #6623

@neupauer

Description

@neupauer

What version of Tailwind CSS are you using?

v3.0.1

What build tool (or framework if it abstracts the build tool) are you using?

doesn't matter

What version of Node.js are you using?

doesn't matter

What browser are you using?

applies to all

What operating system are you using?

macOS

Reproduction URL

https://play.tailwindcss.com/vZuq40tVV7

Describe your issue

The base style abbr[title] has high specificity and cannot be modified with utilities like .decoration-solid etc.

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr[title] {
text-decoration: underline dotted;
}

It's necessary to reduce the specificity with e.g. :where

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