Loading tutorials
hover:, focus-visible:, active:, disabled: and a few others) and how they work with 5 min readtransition does. By the end you will know which transition-* utility to put on an element, why that choice matters for correctness and speed, and how to handle properties that don't animate w6 min readtransition is, and have used a state variant such as hover: to trigger one. The chapter before this one introduced the transition-* property utilities. Here you6 min readhover: variant does. It also assumes you have seen transition, duration-* and ease-* utilities. Here you will use the transform utilities, which resize, turn and move an element without changing the layout around it.6 min readhover: triggers a transition on a single element. Here you will learn how to make one element's state drive the style of a different element.6 min readanimate-spin, animate-ping, animate-pulse and animate-bounce.6 min readhover: variants. It also assumes you know the transition and animation utilities from the earlier chapters: transition, duration-*, animate-spin and custom keyframes. You don't need to know the prefers-reduced-motion media6 min readtransition-*, duration-*, delay-* and ease-* utilities from earlier chapters, and that you can read a small CSS file. Examples are shown for Tailwind v4 (CSS-first confi6 min readanimate-* utilities, the transition-* family, and the basics of CSS @keyframes. It also assumes you can read a Tailwind config file or a CSS file with @theme. By the end, you will be able to define a new animation utility, use it in markup, tune it 6 min readtransition-*, duration-* and ease-*, and that you know the hover and motion-safe variants from earlier chapters. It explains why some animations stay smooth and others stutter, and how to choose utilities that cost the browser litt7 min readtransition-* utility with a state variant such as hover:, and that you are using Tailwind CSS v4. The starting: variant and transition-discrete do not exist in v3, so the chapter ends with a keyframe fallback that works there too.6 min readgroup 4 min read