简体   繁体   English

如何在不响应的情况下使设备友好的网站

[英]How to make device friendly website without being responsive

I've noticed most of the massive sites like Amazon for example, aren't really responsive, well it is responsive up until 1000px but after that it retains its fixed sites. 我已经注意到,例如像Amazon这样的大多数大型网站并没有真正响应,而是直到1000px才响应,但是之后它保留了其固定站点。

When they're opened in smaller devices for instance in mobile, they completely change their design and layout which in responsive websites aren't really possible. 当它们在较小的设备(例如移动设备)中打开时,它们会完全更改其设计和布局,而在响应式网站中这实际上是不可能的。

  1. How to design website like that? 如何设计这样的网站?
  2. Why do they choose it over responsiveness? 他们为什么选择它而不是响应能力?
  3. They certainly aren't using responsive design. 他们当然没有使用响应式设计。 Maybe a device dedicated CSS or whole website? 可能是设备专用的CSS还是整个网站?

I was extremely curious but couldn't find anywhere in web. 我很好奇,但在网络上找不到任何地方。 Thanks to anyone who can help. 感谢任何能提供帮助的人。

They are using mobile redirect to their m.example.com subdomain or other domain. 他们正在使用移动重定向到其m.example.com子域或其他域。 Am not sure but i think for huge css its not very efficient to include all the css for each device loaded for device that doesn't needs it. 不确定,但我认为对于庞大的CSS而言,为不需要的设备加载的每个设备包括所有CSS并不是很有效。

For making it redirect based on devices you can use javascript: How redirect mobile users to different url? 为了使它基于设备进行重定向,您可以使用javascript: 如何将移动用户重定向到其他url?

And for making it responsive for some fixed range you can you max with and height values in css! 为了使其在某些固定范围内具有响应性,您可以在CSS中使用max和height值!

Edit: navigate to www.facebook.com on mobile and it will redirect to m.facebook.com automatically with a all new page specially built for mobile users, even better for low bandwidth connection it moves to mbasic.facebook.com which is even more basic and optimized for low bandwidth connection! 编辑:在移动设备上导航到www.facebook.com,它将自动重定向到m.facebook.com,并为移动用户专门创建了一个全新的页面,对于带宽较低的连接而言,更好的是它将移动到mbasic.facebook.com,甚至更基本和针对低带宽连接进行了优化!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM