Streaming live at 10am (PST)

Goo effect custom code :)


#1

Hi guys,

I’m trying to reproduce a button hover effect inspired by a codepen I discovered which looks amazing :slight_smile: I’ve tried to reproduce the codepen code into a webflow custom embed code but it seems I must be missing something as I do not get the final “goo” effect…

Here is my simplified read-only link.

Here is the codepen I would like to simulate within webflow

Thank you for your help :slight_smile:
Anthony



#2

HTML code goes into the HTML embed.

CSS code goes inside the Head section wrapped in <style> </style> tags.

The JS code goes in the Before Body wrapped in <script> </script> tags

You’ve currently got everything in the embed.


#3

Hi @markos84uk, thank you for getting back at me !
You were right, I had everything on the embed component.
I tried to put the css in the head tag and js before the body tag but I’m still unsuccessful.
I have to do more digging, not sure where but I’ll dig :slight_smile:

Read-only Link
Webpage preview


#4

I’m playing with this right now as I’m not 100% sure either. I know you need to add some elements and give them the appropriate class names. So far I have the button with colours flashing.

I think it’s something like adding a container, a button, a few other div blocks, and the code will animate them accordingly.


#5

This could be useful too… https://tympanus.net/codrops/2015/03/10/creative-gooey-effects/


#6

Ho thank you !
Well interesting because I did actually copied everything from the codepen.
I also compiled the CSS as it was displayed in a “weird” format SCSS (not sure why) :slight_smile:
Should you find something somedays, let me know :wink:

Cheers !

EDIT:

Awesome, I’ll have a look at your gooey effect link ! Looks so beautiful !!!


#7

Ho my god this gooey effect is so amazing !
Can’t stop watching thos demo animation !
Thank you for sharing, looks like magic !


#8

I found the solution and feel abit ashamed of myself.
I simply forgot to put the src=""to define the path of the scripts links :slight_smile:
The goo effect works as expected now ! I can start to play around :sunglasses:


#9

Where, where?! I want to play! :smiley:


#10

There you go @markos84uk !

Read-only Link
Published page

I’m don’t know how to make the project “cloneable” though, so that you could save whatever you’re playing with :slight_smile: Any idea ?


#11

Hi @anthonysalamin

To make it cloneable - you will need to publicly showcase it on your profile and choose the cloneable option.

Or if you have a Pro plan you could privately transfer a copy to @markos84uk account email address…and mine maybe too :wink: :grin:


#12

haha @StuM , I’m not yet on pro plan unfortunately. Hope to get more clients one day for that !
I just made “my” gooey project cloneable, thank you for sharing the how to link. All credit goes to Adrien Grsmto who wrote the codepen though :wink: I could not possibly EVER write magic code like this myself.

Link to the cloneable project: here
Link to the original codepen: there

Let me know if you could build something cool in webflow with it !


#13

Thank you so much for sharing this Anthony! That’s a great CTA button which I will keep in my vault until the time comes to unleash it! A great fun button to share with the community if you’re happy to.

Well done for figuring it out too!


#14

@markos84uk you’re welcome ! I dug quite a bit on codepen to find some inspiration. I didn’t suspect it would’be actually so “easy” to implement someon’s work within webflow ! Custom code component trully is amazing :smiley: Feel free to share it with the community yes !


#15

I found a magicslider on codepen a while ago which is cloneable too, I edited it very slightly to make it dynamic so links in with CMS for clients before and after pics… Cloneable link is in my profile.

magicslider.webflow.io

Some great finds on there once you figure out how to add them!


#16

omg this is so cool !!
I definitely can use that on my own portfolio to show raw pictures and final postproduction result !
Really interesting, thanks for sharing !