How to create a Multi-device Site - some details
Definning the information architecture (commonly known as IA) and structure of the page.
Adding design elements to make it responsive and look good across all devices.
Add a viewport The viewport indicates to the browaer that the page needs to be scaled to fit the screen.
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Style guide , a style guide is a useful way to get a high-level understanding of the visual representation of the page and it helps you ensure that you are consistent throughout the design.
Images , content iamges and stylistic images.
These were images that were important to the narrative of our product.
Stylistic images are images that are not needed as part of the core content but add visual flare or help guide the user's attention to a specific piece of content.
Set your firt breakpoint , the length of the line is going above 10 words(the optimal reading length) and that is where we want to change it.
Constrain the maxmum width of the design#Alter the padding of elements and reduce the text size#Move the form to float in-line with the heading content#make the video float around the content#Reduce the size of the images and have them appear in a nicer grid
Adapt elements to wide viewport - Our narrow viewport was a stacked linear display. Each major section and the content inside them was displayed in order from top to bottom. A wide viewport give us extra space to use to display the content in an optimal(最佳的/最理想的) way for that screen . For our product page, this means that according to our IA we can:
Move the form around the header information
Position the video to the right of the key points
Tile the images
Expand the table
Make images responsive to DPI
When using images, take the size of the viewport and the density of the display into consideration.
The web was built for 96dpi screens. Width the introduction of mobile devices, we have seen a huge increase in the pixel density of screens not to mention Retina class displays on laptops. As such, images that are encoded to 96dpi often look terrible on a hi-dpi device.
We have a solution that is not widely adoted yet. For browsers that support it, you can display a high density image on a high density display.
<img src="photo.png" srcset="photo@2xpng 2x" />
If you follow these guidelines, you will be off to a good start:
01 Create a basic IA(Information Architecture) and understand your content before you code.
02 Always set a viewport
03 Create your base experience around mobile-first approach
04 Once you have your mobile experience, increase the width of the display until it doesn't look right and set your breakpoint there.
05 keep iterating
How to create a Multi-device Site - some details的更多相关文章
- 解决方案:android monkeyrunner:Timeout while trying to create chimp mananger(device = MonkeyRunner.waitForConnection()一直报错的问题)
monkeyrunner在执行device = MonkeyRunner.waitForConnection()一直报错的问题 (或者[main] [com.android.chimpchat.adb ...
- [label][Google-Developers] Your First Multi Screen Site
内容是任何网站最重要的部分. 所以,让我们为内容而设计,而不要让设计支配内容. 1. 首先确定我们需要的内容: 2. 基于这个内容,为无论宽.窄的 viewport 创建一个页面结构: 3. 然后在简 ...
- Dynamic device virtualization
A system and method for providing dynamic device virtualization is herein disclosed. According to on ...
- centos6.4 ceph安装部署之ceph block device
1,prelight/preface ceph storage clusterceph block deviceceph filesystemceph object storage 此篇记录ceph ...
- Device tree customization
Step 1: OEMs can create their own device tree by adding "qcom,msm-id/qcom,board-id" entry ...
- Send custom commands to Mass Storage device
http://stackoverflow.com/questions/14363152/send-custom-commands-to-mass-storage-device I have devel ...
- Online handwriting recognition using multi convolution neural networks
w可以考虑从计算机的“机械性.重复性”特征去设计“低效的”算法. https://www.codeproject.com/articles/523074/webcontrols/ Online han ...
- SharePoint 2013 set site mailbox
Automating Site Mailboxes in SharePoint 2013 and Exchange 2013 One of the completely new features to ...
- [译]The multi Interface
The multi Interfacemulti接口 The easy interface as described in detail in this document is a synchrono ...
随机推荐
- 序列下载及处理之seqinr包
缺点:需要联网,经常出错,不是操作问题而是因为网络问题 安装 if("seqinr" %in% rownames(installed.packages()) == FALSE) { ...
- Spring工作原理与单例
最近看到spring管理的bean为单例的,当它与web容器整合的时候始终搞不太清除,就网上搜索写资料, Tomcat与多线程, servlet是多线程执行的,多线程是容器提供的能力. servlet ...
- Food(最大流)
Food http://acm.hdu.edu.cn/showproblem.php?pid=4292 Time Limit: 2000/1000 MS (Java/Others) Memory ...
- SSH框架整合过程总结
---------------------siwuxie095 SSH 框架整合过程总结 (一)导入相关 jar 包(共 ...
- .NET中CORS跨域访问WebApi
我这里只写基本用法以作记录,具体为什么看下面的文章: http://www.cnblogs.com/landeanfen/p/5177176.html http://www.cnblogs.com/m ...
- MacOs执行SQL出错(mysql)
上次修改过root密码之后,刚启动,执行sql就报错了. 错误是: Reset MySQL root password using ALTER USER statement after install ...
- 设计模式之flyweight享元模式
运用共享技术支持大量细粒度对象的使用 Flyweight模式(享元) Java深入到一定程度,就不可避免的碰到设计模式这一概念,了解设计模式,将使自己对java中的接口或抽象类应用有更深的理解.设计模 ...
- win7安装qt5 纯记录 水文
去qt官网下载http://www.qt.io/看见download就点进去看看吧 目前的下载地址路径是http://www.qt.io/download-open-source选择Offline I ...
- vue的过滤器
Vue.Js 提供了强大的过滤器API,能够对数据进行各种过滤处理,返回需要的结果 vue的过滤器一般在JavaScript 表达式的尾部,由“|”符号指示: 过滤器可以让我们的代码更加优美,一般可以 ...
- numpy 命令 ravel 等
xx.ravel() :表示把一个矩阵行优先展成一个向量.跟flatten一样. import numpy as np print (np.c_[np.array([[1,2,3],[2,3,5]] ...