Whats the best way to think about mobile optimization?
The process is generally the same . - Try to make sure to only use fixed units like px when needed , use % when you want the element to resize it self for different screen sizes . - Generally avoid setting the height of elements , since the height often changes when text starts flowing into multiple lines . - Do as much as you can with % units and flexbox , then use breakpoints for the rest .