3 ms·
Be careful with CSS grid. I tried to print out a page that I designed using grid and it completely wrecked the layout.
by reidjs 6y ago
Be careful with CSS grid. I tried to print out a page that I designed using grid and it completely wrecked the layout.
- carlinmack 6y agoeasily solved with @media print {...}
- marcosdumay 6y agoOne of the great things about grids (and flexbox too) is that the order the elements appear on the age does not depend on the order they appear on the file. That makes it possible to finally present good content for people that can't use the layout (like blind people, or broken UAs like the print ones), and break nothing for most users. But you must forget the good placement practices of earlier.
- reaperducer 6y agoIf you didn’t compensate for printed pages, then you’re not done with your CSS. Just like if you designed something on a desktop and didn’t test it on a mobile device.
- shripadk 6y agoUse @media print {}