Tab effect doesnt work

Hi Webflow,

I am working on recreating this newssection on my site.

I used different things to create it, columns, link blocks and tabs. For now tabs work the best, but still it’s not working the way it should.

The effect I am trying to create I got from this site: www.nos.nl

A screenshot of this effect:

I got as far as getting one of the image boxes to move 80% up, which I am guestimating from the site. But it’s not working properly. Right now I am just the style editor, playing with states.

Should I be making an interaction instead?

my shared link: Webflow - Aiman Hassani
and screengrab of where I am trying to make it:

Best,

Aimanisms

Anyone? @sabanna @cyberdave @thewonglv @PixelGeek

It is possible to do with tabs like you start to do, it will work, but there will be no smooth width changing. If you want to have shifting effect you will have to use interactions

so @sabanna with interactions it is possible?

I will have to try some workaround. Just a little bit later today. Hope you can wait for a bit.

Ofcourse I can wait, thanks @sabanna!

i actually don’t understand the question.

Unsure what the connection is between the two images you provided above.

@Revolution, if you will go to that site www.nos.nl , and click on one of pictures, you will see effect: they are shifting and change width. It is what @Aimanisms want to recreate in Webflow

oic :smile:

there seems to be a strange issue with the interactions.

will have to play with it some more

EDIT: Try this

http://rev-test.webflow.io/

https://preview.webflow.com/preview/rev-test?preview=af302b980fd55511117a4395f91f5047

And here is option with using tabs:
http://sapdesign-sandbox.webflow.io/shifting-tabs

https://preview.webflow.com/preview/sapdesign-sandbox?preview=485541288f79c6ab0e1f05628af56cb7
(page “shifting tabs”)

none of your links work?

Hey @sabanna I tried your solution, but it doesn’t look the same as yours? am I missing something.

Hey @Aimanisms

Tab interaction has issues in preview mode, but works fine on published site. Try to check on published page

Ah ok @sabanna , I checked in published page, it’s smoother, but the size difference is still weird?

Do you mean height? Then it is because of settings in absolute positioning for Tab2, you nave 8px gap on top and bottom. I thought it done for purpose

@sabanna I am sorry, yes I mean height. It’s set on auto, so I didn’t choose this height. I am afraid that if I define height now, it will mess up on different devices, you understand what I mean?

Here is the reason of height difference. Set this to “0px” and everything will be equal.

ah that is strange, I don’t remember myself putting any info in there @sabanna. Great I will fix it.

1 Like

Happens :wink: Could be from some other tries.

THANKS! it’s fixed. yay, thanks for everything. You are awesome!

1 Like