You can archive this by using relative units.
So instead of pixels. you can use REM (this scales with your base font size) or VH/VW (this stands for viewport height and viewport width).
Here is a great article about that:
You can archive this by using relative units.
So instead of pixels. you can use REM (this scales with your base font size) or VH/VW (this stands for viewport height and viewport width).
Here is a great article about that: