Trying my hand at solving @fry's 3D button hover animation problem.
In this method, I've gotten it down to 2 elements in the designer (a background, and a "button" div), the rest of the work is done in the CSS you'll find in the Page settings.
The CSS here is creating two pseudo-elements, the triangles that animate alongside the button when you hover over the background element.
The background & button element combo is super reusable, and you can make style changes to your copied buttons (background color, font styles, sizing, etc) just by adding a secondary class, that doesn't break the custom code!
The main quirk is that if you want to change the background color, you'll also want to change the border colors in the CSS to match, as I just have them set to white right now (as you can see in the 3rd example where I changed the background but not the border colors. I may continue to try to find a way to tie the border color to the background color.
Tags from Webflow:
css, custom code, 3dbutton, cloneable, button
The best Webflow projects handpicked & delivered.
We search the entire Webflow showcase to find the most clone-worthy websites. The kind of sites that make you say "wait... this is free?"
Unsubscribe anytime. No spam.
Booyah! The first newsletter will go out early next week.
Oops! Something went wrong while submitting the form.
0 Comments