What is the best solution for self-adaptation of web pages on the pc side?

rem or percentage?

bootstrap doesn"t seem to be adaptive, does it?

I think layout is the hardest in css!

ask the boss to give me some advice, thank you ~

Jun.11,2021

now mainstream frameworks contain adaptive solutions. At the beginning, it is recommended to use the percentage


bootstrap is a responsive layout, which can be said to cover self-adaptation. It cannot be said that bootstrap cannot do self-adaptation.
if you want to write it yourself, you usually have to use the percentage of width spacing, etc., and the font is em or rem

.
Menu