3 ms·
There are various approached you could take; CSS transition/animation, d3,... Here is a quick dirty example of shuffling using CSS transition [1] on the left o
by cbayram 4y ago
There are various approached you could take; CSS transition/animation, d3,...
Here is a quick dirty example of shuffling using CSS transition [1] on the left offset.
https://jsfiddle.net/h2urfsjb/ https://jsfiddle.net/h2urfsjb/
It puts each character of a word in its own absolutely positioned span tag and maps its left offset.
[1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transitions/Using_CSS_transitions https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transit...