Skip to content

@property percentage initial-value fails to include the "%" symbol on build #19200

@mitchuman

Description

@mitchuman

What version of Tailwind CSS are you using?

v4.1.16

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

"@tailwindcss/postcss": "^4.1.16"

What version of Node.js are you using?

v20.19.0

What browser are you using?

All major browsers (FF, Ch, Sf)

What operating system are you using?

macOS

Reproduction URL

https://play.tailwindcss.com/pHMIv6qP8i

I'm not able to replicate a build output in Tailwind Play...

Describe your issue

I'm using a simple @property declaration (<percentage>) with an initial-value set to 0%. This renders normally during local dev, but only after building (when it gets minified) the 0% transpiles to plain 0.

Not sure if this is a Tailwind or @tailwindcss/postcss bug, but a bug nonetheless that is preventing my animation to perform as intended on production.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions