Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tech Debt: Convert USWDS grid classes to CSS Grid #1290

Open
levinmr opened this issue May 6, 2024 · 0 comments
Open

Tech Debt: Convert USWDS grid classes to CSS Grid #1290

levinmr opened this issue May 6, 2024 · 0 comments

Comments

@levinmr
Copy link
Contributor

levinmr commented May 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant