I've used some relative CSS units like vh and vw and the min and calc CSS functions to attempt to better fit the sudoku grid to any screen shape. Here's my laptop screen for example:
Before:
After:
Try the chrome dev tools device simulator to see that it also looks much better on phones too! The numbers probably still need more tweaking to get it exactly the way you want it, but hopefully this will help you get started. 🎉
I've used some relative CSS units like
vh
andvw
and themin
andcalc
CSS functions to attempt to better fit the sudoku grid to any screen shape. Here's my laptop screen for example: Before:After:
Try the chrome dev tools device simulator to see that it also looks much better on phones too! The numbers probably still need more tweaking to get it exactly the way you want it, but hopefully this will help you get started. 🎉