analytics.usa.gov icon indicating copy to clipboard operation
analytics.usa.gov copied to clipboard

Tech Debt: Convert USWDS grid classes to CSS Grid

Open levinmr opened this issue 9 months ago • 0 comments

Use CSS grid which has been supported natively in all browsers since 2017. Caveat: This will cause IE11 and older to not display the site grid properly (According to DAP stats, this is .1% of users to all govt sites).

This will reduce complexity in the site markup, keep positioning logic in the site CSS instead of HTML, and remove a unnecessary dependency on USWDS for positioning.

Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout

levinmr avatar May 06 '24 14:05 levinmr