Skip to content

Negative margins are not compatible with hover #305

@laurencei

Description

@laurencei

If I modify the modules section of my tailwind.js to add hover support to margins:

margin: ['responsive', 'hover'],

Then I can do this:

hover:mt-1

But this does not work

hover:-mt-1

I'm guessing because of the leading - is causing an issue?

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