Front-end responsive layout

how to implement a set of codes that can be adapted to pc phones at the same time? besides using media query, is there any good method

Sep.27,2021

bootstrap


probably media query and conditional routing. Media query you said; conditional routing is based on uA or screen width, using front-end routing to render different pages.


Js gets the screen width, and adds different class, to elements according to different widths. For more information, please see the compatibility method of Youku website

.
Menu