Skip to content

comments always renderd at the top (were rendering fine in TW3) #20049

@alex-jitbit

Description

@alex-jitbit

What version of Tailwind CSS are you using?

4.3.0

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

None. tailwindcss CLI

What version of Node.js are you using?

v25.9

What browser are you using?

does not matter

What operating system are you using?

macOS

Describe your issue

I need comments in the input.css to appear exactly where they are. I have an RTL-compilation engine for Hebrew-Arabic-Persian that required code like this:

/*! rtl:ignore */input[type=checkbox] {blablabla}

And this comment needs to effing say where it is.

Tailwind 4 moves it to the top. Tailwind 3 works just fine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions