Streaming live at 10am (PST)

Safari + Round Corners + Transition = weird glitch

Hey guys,

So I did some looking around on the forums to try and solve my problem and I found a solution but for some reason it only works on some of the buttons.
Here is the finished site. If you open it in chrome you can see the button hover interaction works fine. If you open it in Safari, the sliding portion is glitched, but only on the top buttons. The Kickstarter button at the bottom of the page acts fine.

I added this to the custom code as it was the solution for others but I’m not sure if it is implemented correctly:

<script>
SlideButton.transitionfix() {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0) 
</script>

Any help is appreciated!


Here is my site Read-Only: https://preview.webflow.com/preview/ohsnap1?utm_medium=preview_link&utm_source=dashboard&utm_content=ohsnap1&preview=e7900d058c01553fb24bead84bdf0392&mode=preview

You can try to make it happen inside of Webflow, you don’t necessarily need a script as webflow supports backface visibility and translate.

Here is how you can try to set it up on your element. Select your element and:

Also, for the translate:

Ad a Move 0 0 0. Notice the previous button turned blue because there’s a backface visibility hidden set up on it.

I don’t know if it’s going to fix your problem, but that’s doing exactly what your code is supposed to do.

BTW your script isn’t a Javascript script and can work. It’s a CSS stylesheet and should be like this:

<style>
.class of your element {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0) 
</style>

(or maybe it’s a script, I’m very bad at scripts. But I think it’s not)

Thanks for your help Vincent but your pictures are showing a broken link for me! However, I tried changing the script to what you suggested. and it did nothing

bump. Still can’t seem to figure it out.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.