Tabs that animate to the height of their content when switched

Adaptive tabs
Tabs that animate to the height of their content when switched.
With bonus color switcher
Made with
jquery.js,HTML and CSS
Author
Lewi Hussey
Demo
See the Pen Adaptive tabs by Lewi Hussey (@Lewitje) on CodePen.