Home › Forums › Other › Code Puzzle: How to make a perfect grid on any screen. › Reply To: Code Puzzle: How to make a perfect grid on any screen.
July 15, 2014 at 12:58 pm
#175495
nixnerd
Participant
I’m assuming that viewport units are detectable with Modernizr or something similar.
Oh yeah… they are.
I think those units are so much easier to work with. I created some mixins that essentially abstracted the other method to this level of ease but damn… that’s so awesome.
Now, I just need to do the math to determine how many units each square will be based on the window size.