Code refinement, tighter webpage scaling across resolution