Skip to content

[v4] functional utility with position type #19732

@sntran

Description

@sntran

What version of Tailwind CSS are you using?

v4.2.1

Reproduction URL

https://play.tailwindcss.com/1KyeyxpXHu?file=css

Describe your issue

There are quite a bit of utilities that use position values, such as background-position, mask, and gradient. It would be nice to be able to define functional utilities using them. I do see position data type so maybe it can be used?

An example like in the Play URL is position-area. I would like to use position-bottom-right utility, instead of position-[bottom_right].

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