Make your site responsive with all device friendly – with the - TopicsExpress



          

Make your site responsive with all device friendly – with the advance use of CSS3 media query Responsive design is a great way to fit your website in different device according to screen size and resolution. Today’s businesses are presented with the dual problem of handling diverse customers spread across different device base. Responsive web design and a mobile site are the two solutions businesses have at their disposal. Responsive web design is a web design approach aimed at designing sites to provide an optimal browsing experience easy reading and navigation with a minimum of resizing, panning and scrolling across a wide range of devices from desktop computer monitors to mobile phones. In simpler terms, responsive web design uses media queries to figure out the resolution of a device in question. Let’s see how page display width varies with different size of devices : With the rapid use of smart phones, android and tablets developers must account for multiple devices and screen sizes while designing websites or applications. This is one of the complex step while designing a site but it can be gracefully resolved with standard style sheets and CSS3. Developers usually implement two techniques in designing a responsive layout. First one is to create a miniaturized version which benefits users to be accustomed with the large desktop view. But on the other hand it may not be beneficial if the links, text, graphics and other elements are too small to interact with. A more effective approach is to use multiple layouts according to different screen resolutions- a fixed width for the large screens and fluid width for the smaller screens. This means not only scaling columns to smaller widths, but also reducing columns – eventually displaying all content in one column. In CSS2.1 a standard type of media types has been used by developers : In CSS3 this concept has been upgraded by implementing media query which allows developers to target certain device classes and also inspect the physical characteristics of the environment before rendering the page. The media query (max-width: 767px) helps to determine if the device is in a horizontal position and the width is equal to or less than 767px, then load the score.css file. The most appealing aspects of responsive web design is that a responsive website can provide a great user-experience across many devices and screen sizes. This is an important characteristic, since it is impossible to anticipate all the devices and screen sizes searchers will use to access your site. A site that works well regardless of these variables will provide a better and more consistent user-experience than a separate mobile site that is designed for a specific device and screen size. Mobile devices will overtake desktop Mobile devices are predicted to exceed the number of desktop and laptop personal computers. It has been predicted that in the year of 2015 it will overtake desktop with 52% market share. The research shows consumers are more comfortable to do shopping or surfing internet through their Smartphone or iPhone these days. For businesses to stay in the competition, they should adapt their marketing strategy to accommodate – and even revolutionize – the mobile space, provide location-based content, create a responsive or mobile website or consider. How to edit template or create the new page implementing CSS coding? We need to write base style CSS file + three type CSS code in Response Base 960 Grid ——– [style.css] {CSS………} Tablet (Portrait) ——– [Response.css] @media only screen and (min-width: 768px) and (max-width: 959px) {CSS………} Mobile (Portrait) ——– [Response.css] @media only screen and (max-width: 767px) {CSS………} Mobile (Landscape) ——– [Response.css] @media only screen and (min-width: 480px) and (max-width: 767px) {CSS………} If you preview in different devices then different result will be shown as below: Picture 1 : PC / Tablet / iPad Picture 2 – Mobile / iphone /itouch Picture 3 – PC Picture 4 – Tablet / iPad Picture 5 – Mobile / iphone /itouch Q: Why index page only have two types, but detail page three types? A: Response design doesn’t mean that you need to complete all sets of design. You can choose a page which needs to use multiple sets of design. But for the response design, you must have two sets of design. One for the PC, one for the Mobile According to the different page,customers have different design. So response design can meet the diverse needs.
Posted on: Thu, 11 Sep 2014 08:42:01 +0000

Trending Topics



Recently Viewed Topics




© 2015