Use rem. 10px -> 1rem for example.