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="[email protected] 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

时间: 2024-10-11 03:32:18

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.AdbChimpDevice] Timeout while trying to create chimp mananger) 看到这篇文章的童鞋们.是不是自己很郁闷呢.看了其他人一直都能好好的运行(就算官方的demo都是那样写.就是自己机子不行) 1.叫你重装JDK或者重新配环境的人.就千万不要相

Dynamic device virtualization

A system and method for providing dynamic device virtualization is herein disclosed. According to one embodiment, the computer-implemented method includes providing a hypervisor and one or more guest virtual machines (VMs). Each guest VM is disposed

System and Device Programming------questions solved about device

(1) br------ 2 root root 0,21 Feb 12 15:40 /dev/dsk15crw-rw-- 2 root root 7,21 Mar 7 09:29 /dev/rdsk15because the two special files propably refer to same partition,sothey refer to to same device,they are just two files of samedevice,which stands for

centos6.4 ceph安装部署之ceph block device

1,prelight/preface ceph storage clusterceph block deviceceph filesystemceph object storage 此篇记录ceph block device,ceph storage cluster见上一篇 Realiable Autonomic Distributed Object Store(可靠自主分布式对象存储) long term supported [ruiy tips Notes] ERROR: modinfo:

[译]The multi Interface

The multi Interfacemulti接口 The easy interface as described in detail in this document is a synchronous interface that transfers one file at a time and doesn't return until it is done.easy接口是同步的,调用同步接口传输文件,需要等到传输完毕函数才会返回. The multi interface, on the o

springboot配置文件application.properties

# =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application. ^^^ # ===================================

玩转spring boot——properties配置

前言 在以往的java开发中,程序员最怕大量的配置,是因为配置一多就不好统一管理,经常出现找不到配置的情况.而项目中,从开发测试环境到生产环境,往往需要切换不同的配置,如测试数据库连接换成生产数据库连接,若有一处配错或遗漏,就会带来不可挽回的损失.正因为这样,spring boot给出了非常理想的解决方案——application.properties.见application-properties的官方文档:http://docs.spring.io/spring-boot/docs/curr

Opengl 导入3Dmax制作的.3ds模型 并显示出来

由于opengl并没有原始支持这种模型,所以导入是件麻烦事,但是又有很多的模型是这个格式的,这次在做图形学大作业的时候,特别想用到. 开始以为很简单,就几十行代码就能解决,但是翻了好多列子,都从解析文件格式,到分离顶点,纹理格式等等,非常复杂的工作,最后才能显示模型. 因此我把网上的列子总结成了2个文件,一个头文件和一个CPP文件,文件在最后面贴出来 叫做CLoad3DS.cpp   CLoad3DS.h 下面用nehe最简单的一个列子来展现如何导入,非常的简单 不需要管这个两个文件里面具体复杂

Creating fields using CSOM

? When creating a field, whether you are using CAML, server-side object mode, or one of the client-side object models, you typically specify the following attributes: The?ID?of the fied, which is a GUID The?Name, which is the internal name of the fie