Check out this demo on Codepen that showcases the issue: http://codepen.io/theclarkofben/pen/xKhsd
The .Show()
effect isn't working as expected due to the negative margin applied to the div.
Can someone shed light on why this behavior is occurring?
Is there a way to utilize negative margin with this approach without encountering issues?
I'm using Chrome and have tested different versions of jQuery and jQuery UI, but the problem persists.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nec velit leo. Phasellus non erat nulla. Fusce hendrerit justo vitae purus suscipit non ac nisl. Nam eu ligula risus. Duis sed felis at tortor fermentum fermentum vel eget nibh. Maecenas porttitor magna augue, vel luctus tellus blandit convallis. Donec feugiat sollicitudin ornare. Integer efficitur pellentesque malesuada. Integer sodales rutrum neque quis fermentum. Vivamus et nisi accumsan, vestibulum sem eu, ultricies eros.