# Using CSS @starting-style for Enter Animations and Handling Specificity Issues

DevFeed: [Using CSS @starting-style for Enter Animations and Handling Specificity Issues](<https://devfeed.tech/articles/the-big-gotcha-with-starting-style-45207.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/starting-style/>)

Author: Josh W. Comeau

Published: 2025-09-22T11:30:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [selectors](<https://devfeed.tech/topics/selectors.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [css](<https://devfeed.tech/tags/css.md>), [css-transitions](<https://devfeed.tech/tags/css-transitions.md>), [gotcha](<https://devfeed.tech/tags/gotcha.md>), [selectors](<https://devfeed.tech/tags/selectors.md>), [specificity](<https://devfeed.tech/tags/specificity.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

This tutorial explains how CSS @starting-style enables transitions for elements entering the page, a use case previously handled with keyframe animations. It also examines specificity and priority issues that can affect the resulting styles and discusses workarounds.

## Source excerpt

CSS has been on fire lately, with tons of great new features. @starting-style is an interesting one; it allows us to use CSS transitions for enter animations, something previously reserved for CSS keyframe animations. But is the juice worth the squeeze?