Floated Elements With Javascript

A quick and dirty jQuery script to collapse a parent element when floated. This allows the element to be centered using [ margin: 0 auto; ]

See the Pen AHjdo by James Johnson (@jstuartj) on CodePen.

This entry was posted in Uncategorized. Bookmark the permalink.