See the Pen Animated Grid / List View Toggle Icon by Emil (@emillinden) on CodePen.0