Skip to content

@apply issue #16

@zidandff

Description

@zidandff

What version of @tailwindcss/aspect-ratio are you using?

v0.2.1

What version of Node.js are you using?

v12.18.3

What browser are you using?

Edge

What operating system are you using?

Windows 10

Reproduction repository

https://github.com/zidandff/tailwind-aspectratio

Describe your issue

If I wrote the class of tailwindcss-aspect-ratio in element attribute is working normally
`


`

however when I want create a component using @apply it doesn't work
.card { @apply aspect-w-9 aspect-h-16; }

but when use aspect-w-1 aspect-h-1 it's working normally again
.card { @apply aspect-w-1 aspect-h-1; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions