Better CSS grid calculation.