When you scroll into the “Who are we” section of the home page, the box at the bottom scrolls in advertising the Airbnb credit. However, the text link doesnt move with the div, butthe image does. Does anyone know why thi sis please, I’ve played around with so many variations but can’t seem to work it out.
I cant give you a definitive answer why, but if you put both the image and the text into a div with the class of display flex and align both objects horizontally then that should reach the desired result.
Flex + fixed + inline + relative + add properties with animation the animation change your display from flex to block (This is “WHY” you see this layout) -