6 votes

Exploring the CSS @property feature and its type-checking and animating capabilities

4 comments

  1. [2]
    Wes
    Link
    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...

    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 with time.

    3 votes
    1. Bauke
      Link Parent
      Time looks to be specifically seconds or milliseconds, it's still a draft so date could be added in the future maybe?

      Time looks to be specifically seconds or milliseconds, it's still a draft so date could be added in the future maybe?

      2 votes
  2. [2]
    ChuckS
    Link
    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....

    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.

    1. Wes
      Link Parent
      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.

      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.

      2 votes