Home › Forums › JavaScript › ScrollMagic centers pinned object › Reply To: ScrollMagic centers pinned object
February 29, 2016 at 8:31 pm
#238578
Shikkediel
Participant
All I can say is that the shift to the side isn’t directly caused by margin: auto
but by switching from relative to fixed positioning. The margin value is always there but is to no effect with fixed
, that’s why it changes place.