@samliew Do you know why nether of these work in webflow? I’ve used them outside in sublime text before. Would be great to figure this one out as I know there are a lot of other people on the forum trying to achieve this.
It’s working, but only on the first element on the page with the ID aboutLink. This is because IDs have to be unique. If you want to affect multiple elements you should be looking at using class selectors.
Would like to know what @gabermesz asked, too. It’s not working. I tried to put it in the footer of the whole project and a single page (not at the same time).
I animated a button click but the page loads too fast.
Copy and paste the code in the Custom Code section in the Settings Page, second last tab. This is where the proper footer code should be pasted—not in Designer.
As per @samliew’s reminder, user a Class (e.g. .link-block and NOT #link-block). This will affect all Link Blocks on your site.
Publish.
Note: If, however, you wish to be selective with the usage of this delay transition, then you can use, say, .pagetransition as a combo class. As and when you want the link to have this transition, drop the combo class in.
E.g.