Reputation: 353
I was wondering how the guys who made carv.ai achieved the text masking effect on the paragraph "Carv connects wirelessly ...".
I know that we can mask a background image on a text.
Upvotes: 0
Views: 67
Reputation: 1295
The first thing that you can do to have text masking, is either give the masking div a greater z-index
than the text, or make the text the same color as the masking color. Then you can use jQuery to make the div slide away.
Here is the jQuery:
$("#id").animate({width:'toggle'},350);
Upvotes: 1