tailwindlabs / tailwindcss

A utility-first CSS framework for rapid UI development.
https://tailwindcss.com/
MIT License
83.27k stars 4.22k forks source link

Add new `transition-discrete` and `transition-normal` utilities #15051

Closed RobinMalfait closed 2 days ago

RobinMalfait commented 2 days ago

This PR adds two new utilities for the transition-behavior property:

Name Definition
transition-discrete transition-behavior: allow-discrete
transition-normal transition-behavior: normal

Test plan

Not a lot too test here, but verified in the browser that these properties generate correct CSS:

image image