eomerb Posted January 8, 2020 Share Posted January 8, 2020 hello there, I want to use scramble text animation but doesnt look good with multilines as in codepen example in multilines scrambling jumps to next line and the words appears like as if comes from opacity 0 is there any way to solve it thanks See the Pen JjopaVY by eomerb (@eomerb) on CodePen Link to comment Share on other sites More sharing options...
ZachSaucier Posted January 8, 2020 Share Posted January 8, 2020 Hey eomerb and welcome. The cause of this jumping is because with only the characters you provided there's no way for the line to wrap. One alternative would be to include spaces in your character list for the scramble: See the Pen dyPdwMb?editors=0010 by GreenSock (@GreenSock) on CodePen If you want to change the proportions of how many Xs and Os there are compared to spaces, just change that in the chars string: See the Pen YzPedVy?editors=0010 by GreenSock (@GreenSock) on CodePen 3 Link to comment Share on other sites More sharing options...
eomerb Posted January 8, 2020 Author Share Posted January 8, 2020 @ZachSaucier giving multiple characters is working great. instead of "lowercase" and "uppercase" I can write the whole alphabet and cover that cases too many thanks 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now