20
Warning: My portfolio's mobile layout looked awful for months because I used fixed pixel values in my grid.
Switched to fr units and minmax() for the columns and it fixed everything in an afternoon. Anyone else get stuck on that?
2 comments
Log in to join the discussion
Log In2 Comments
miles_roberts2211d ago
That's a solid fix... switching to fr units makes so much sense for grids. How did you even figure out the pixel values were the problem in the first place? Was it just a case of checking on a phone and seeing it broken, or did you have a specific testing step?
0
tyler_baker11d ago
I read a blog post that basically said pixel grids always break on mobile.
3