NegativeGrid – a CSS grid approach for creating slideshows and accordions
NegativeGrid is a simple grid system for making slideshows and accordions.
By using negative margins horizontal posion of elements no longer depends on the position of adjacent elements but it’s calculated from the left side of container. This technique lets you easily change the position of an item in stack by simply pushing in more from the left. Play with the demo to see it in action.