Wed, 2015-04-08 14:53
I have a codepen of an animated header here:
http://codepen.io/beelzebomb/pen/qELgdO"]http://codepen.io/beelzebomb/pen/qELgdO
The idea is that as you scroll content, the header shrinks out of the way - great for tablets.
But as you can see, the image shrinks to it's own centre, whereas the ideal situation would be for it to shrink to top left to keep the whole header in some sort of perspective - any ideas?
Thu, 2015-04-09 07:19
#1
Hi beelzebomb, Nice
Hi beelzebomb,
Nice effect.
Try
.header-shrink .logo { margin-left:-80px; margin-top:-30px;