Uses Houdini to animate the scaling factor --sx
of the bars, so it only works in Chrome with the Experimental Web Platform features flag enabled. Recording of how the animation looks.
Demo mentioned in my Various Methods for Expanding a Box While Preserving the Border Radius article on CSS-Tricks.
Dedicated to the memory of someone special who passed away this January. Missing you every day.