Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Some help with CSS animation – shifting elements. Re: Some help with CSS animation – shifting elements.

#86440
Johann
Member

1. use relative positioning for the images, and find how you need to tweak the hovered position so it stays centered. also play around with (negative) margins to influence the position as well as how far the other images get pushed! and if you don’t want them to get pushed at all, use absolute positioning instead (relative to their individual wrappers so you don’t have to tweak all four to different values)… hope that helped :)