The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS I can make this with css?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #254890

    Hey guys i want to learn how i can make text transition like here: check corner where is the name is changing,can you give me some advice?
    Thank you!


    hey altcss1337,

    In your example classes are being added and removed to the element using JavaScript.
    That’s definitely the best way to do this while making sure it’s cross browser compatible.

    If you want to use css instead, you could use keyframe animations and set the transitions to ‘step-end’ to make the transitions choppy.
    It’s not truly random but when animated correctly, it will feel random. You would need to use JS to make it truly random.

    I wrote you a pure css/html demo for this.
    Try commenting out code and seeing what happens with it, specifically try deleting ‘step-end’.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.