You’ll have to actually create a div that is 100vw and 100vh and apply a scale and rotate interaction on the button to control the div position. this should help you get started. Rotate on mouseover | Webflow University
for the moment I would only like the buttons to grow and shrink with the background image when I stretch the browser window. No need interaction for now.
see my example. http://testdepang.webflow.io/exemple
Body
└ Wrapper (DIV) [Go to ‘Child Perspective’ and set the value to 1000]
…└ Background (DIV)
… …└ Sticker (DIV)
Select the ‘Sticker’ DIV and go to your interactions panel. Create a new ‘Mouse Hover’ interaction via the ‘Element Triggers’ section. ‘On Hover’ select ‘Start an Animation’. Create a new timed animation and chose the option ‘Rotate’ and the option ‘Move’. Right-click these animation actions and change the target elemnet to the ‘Background’ DIV. Duplicate both of these and chose your start and end values. Move closer using the Z-axis and Rotate on the Z-axis.
You will need to make sure your Sticker DIV is only the size of the sticker, otherwise, you won’t get the results you are looking for.
thank you, for its clear explanation step by step. The animation works well. Except for the scroll bars, when I over the sticker, how can I remove them.
And how do I make the sticker always stay in the right place even in a responsive view? http://testdepang-copy.webflow.io/
Size the DIV containing the sticker using VW (Viewport Width) and VH (Viewport Height) not pixels. Do the same with the DIV’s margins (to equal 100%). You can also us the flex tool to do the same thing, but just offset the location of the sticker DIV using VW and VH margin sizes. I’m still learning Webflow myself, but if I remember correctly, the scrollbars should go away if you select Overflow: Hidden on the ‘Wrapper’ layer.
thanks again, the scroll bars are disabled. You still learning but you are definitely better than me! for the sticker I put margins on the right and left (VW), I will have to adjusted this margin for each desktop tablet mobile views? And when I put a margin (VH) bottom to raise the sticker it is in the right place but when I toggle preview or bublish it is too high
(sorry for my english I use google translation)