Rework CSS plugin for legacy, and future-proofed, flex support.