6
votes
Exploring the CSS @property feature and its type-checking and animating capabilities
Link information
This data is scraped automatically and may be incorrect.
- Title
- Exploring @property and its Animating Powers | CSS-Tricks
- Published
- Mar 4 2021
- Word count
- 2473 words
Seems very powerful. Probably more powerful than I'll ever be able to take advantage of. As CSS becomes more programmatic, having some type-safety is appreciated though.
I wonder why there's no
date
type? Unless that's just included withtime
.Time looks to be specifically seconds or milliseconds, it's still a draft so date could be added in the future maybe?
I'm starting to get into the new Unity UI Builder, which has Unity Style Sheets (.uss, among other stuff), so I thought it'd be neat to take a look at this, but it keeps crashing on my phone haha. Unit's uss are (supposed to be) a subset of CSS, so that's another new set of programming stuffs for me to learn.
I've strayed pretty far from my mechanical engineering background haha.
The article has a lot of embedded examples. Phones might not be too keen on that.
I expect a subset of CSS probably won't have a feature like this for a while though.