Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: @property Support
    Thread Starter blackape

    (@blackape)

    @gappiah Thank you for your wonderfully reply yes it was exactly like you decribed.
    i guess ill just have to wait for @propertys to be fully supported until then i will just have to make due with a javascript.
    Anyhow @propertys is a really wonderfull addition to css and i hope it will be supported widely in the future since the animations you can create and the ease in wich you can create them really is astounding.

    Thank you all for your replys I will close this topic.

    Forum: Fixing WordPress
    In reply to: @property Support
    Thread Starter blackape

    (@blackape)

    im sorry the css code is wrong i was playing around with it and accidently posted the wrong code:
    The CSS Code im trying to use:

    @property --num{
      syntax: "<integer>";
      initial-value: 1000;
      inherits: false;
    }
    
    .countingnumbers {
      transition: --num 1s;
      counter-reset: num var(--num);
    }
    .countingnumbers:hover {
      --num: 10000;
    }
    .countingnumbers::after {
      content: counter(num);
    }
Viewing 2 replies - 1 through 2 (of 2 total)