Finished product project to achieve 42-inch vertical screen self-adaptation how to change Css, rem,vw or percentage which is better

A molding project of Bootstrap should be displayed normally on both a 25-inch ordinary screen and a 42-inch vertical screen. I"m going to change some CSS code. Is it better to use rem with media or vw, or percentage?

Css
Mar.28,2021

Hello, percentage may be a good choice

Menu