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 ...
随机推荐
- python数据分析笔记——数据加载与整理]
[ python数据分析笔记——数据加载与整理] https://mp.weixin.qq.com/s?__biz=MjM5MDM3Nzg0NA==&mid=2651588899&id ...
- oracle 字符处理
oracle获取字符串长度函数length()和hengthb() lengthb(string)计算string所占的字节长度:返回字符串的长度,单位是字节 length(string)计算stri ...
- Java HashMap,LinkedHashMap,TreeMap
Java为数据结构中的映射定义了一个接口java.util.Map;它有四个实现类,分别是HashMap Hashtable LinkedHashMap 和TreeMapMap主要用于存储健值对,根据 ...
- BLACK PHOSPHORUS: THE NEW GRAPHENE?
Materials World magazine,3 Oct 2015 Link:http://www.iom3.org/materials-world-magazine/news/2015/oct/ ...
- Telephone interview with Youyou Tu
"Good News for the National Holiday!" Telephone interview with Youyou Tu following the ann ...
- Openvpn 日常问题解决
一.Openven的在windows系统下的使用: 1.Openven客户端2.2.0:http://pan.baidu.com/s/1sjJij4T 安装好客户端软件后,将服务器下发的证书和配置文件 ...
- UVa 1595 Symmetry(set)
We call a figure made of points is left-right symmetric as it is possible to fold the sheet of paper ...
- js 判断字符串是否包含某字符串,String对象中查找子字符,indexOf
var Cts = "bblText"; if(Cts.indexOf("Text") > 0 ) { alert('Cts中包含Text字符 ...
- 中介者模式(QQ聊天室我觉得是个很生动的例子简单易懂)
设计模式之中介者模式(Mediator) 一.初识中介者模式 那些年,我们一起上过的大学,班级里有班长,有团书记.想一想如果没有QQ这种通讯工具的话,那么班长或者团支书该怎样下达消息呢??同时,班级上 ...
- Base64中文乱码的问题
web端和app端base64解码时中文乱码的问题. web端: String data = new BASE64Encoder().encode(data.getBytes("UTF-8& ...