I am a sophomore majoring in computer science. I learned the web front end after seeing the great special effects on the Internet, but I went through the css foundation, but I always couldn"t write a good-looking page, and I didn"t know how to start it. Recently, when I imitated a website and visited another website, I found that other people"s websites were self-adaptive and changed directly from the pc side to the mobile layout. What I currently know about bootstrap is a responsive framework. Is there any special way for people to write two sets of css to load different css on different terminals through user agent inspection? ask the boss for advice. As far as I know about this method of media inquiry,
1. If I write the pc page code, write the navigation bar, after querying with the media, switching to the mobile will be adaptive, then the original written margin, ah, padding, what to do I directly gave to the px unit.
2. What kind of layout is popular at present.