Tuesday, January 1, 2013

10 ways to be responsive

Updated April 19, 2015

Responsive design found life when Cameron Adams posted the 2004 blog entry, Resolution Dependent Layout, which describes how his frustration with the most common screen resolution of the time (800 x 600), ended with the first ever responsive webpage. See the webpage here.1

In 2012, Mark Otto, the creator of Bootstrap, stated there were over 750,000 Bootstrap downloads in a four month period.2

By 2013, smartphones were owned by 56% of American adults,3 and 2014 was the year mobile users surpassed desktop users.4

Responsive design has even touched my own career. For the past 2 years I have taught responsive web at the Academy of Art University and each company I've worked for, since 2011, has requested a responsive solutions.

What does all of this mean? Responsive design has surpassed a fad and has moved into standard practice, but with so many ways to accomplish the same technique it's easy to implement the wrong solution. Here is what I find works the best:

  1. Use a framework – Because responsive design has been around since 2004, there are many excellent frameworks to select from. Here are the three major frameworks and a comparison of them:


  2. Understand the fluid grid – In the past, a fixed grids would adapt by changing the pixel size at four specific screen resolutions. Today, the fluid grid uses percentages instead of pixels to handle all device resolutions instead of just the four.


  3. Consider mobile-first design – Mobile-first design includes touch gestures (no hovering on mobile), size constraints, and common device holding patterns for navigation placement. Mobile apps are a great example of mobile-first design because they were made for smaller screen resolutions.

  4. Typical desktop view

    Typical mobile view

    Mobile-first designed mobile view


  5. Know every second counts – Loading time is a leading factor of webpage abandonment. While most mobile users will wait 6-10 seconds before abandonment, "a one second delay in page response can result in a 7% reduction in conversions. If an e-commerce site is making $100,000 per day, a 1 second page delay could potentially cost them $2.5 million in lost sales every year".5



  6. Finalize the design with CSS media queries – Well written styles inside a media query can improve a responsive design and make a site ‘pixel-perfect’ at every resolution. After implementing a framework use media queries "to change styles based on the characteristics of the device rendering the content".6

  7. /* ----------- Non-Retina Screens ----------- */
    @media screen
        and (min-device-width: 1200px)
        and (max-device-width: 1600px)
        and (-webkit-min-device-pixel-ratio: 1) {
    }

    /* ----------- Retina Screens ----------- */
    @media screen
        and (min-device-width: 1200px)
        and (max-device-width: 1600px)
        and (-webkit-min-device-pixel-ratio: 2)
        and (min-resolution: 192dpi) {
    }

  8. Stay lossless with vector icons – An image that does not pixelate at larger resolutions can cost a significant amount of data space, slowing down load times. The solution: Vector graphics. Vectors use geometrical primitives based in mathematical expressions to represent images,7 which mean they do not degrade at any level and are typically smaller files. Vector-based icons can even be converted into a webfont.



  9. Face the font – With the CSS3 @fontface and improved cross-browser standards, it is easier than ever to bring magazine style design and typography to life in any browser or screen resolution.

  10. @font-face {
    font-family: "Segoe UI Light";
    src: url("SegoeUI-Light.eot");
    src: local("☺"),
    url("SegoeUI-Light.woff") format("woff"),
    url("SegoeUI-Light.ttf") format("truetype"),
    url("SegoeUI-Light.svg#SegoeUI-Light") format("svg");
    }


  11. Understand the audience


  12. Try PhoneGap – In 2014, roughly 85% of mobile time was spent within an application instead of on the web,8 so there may be a desire to develop an application for the iPhone, Android, or Windows Phone. Fortunately, native code is no longer the only option; frameworks like PhoneGap allow developers to easily create apps using the web technologies they know and love: HTML, CSS, and JavaScript.9


  13. Be progressive – Evolution is not only required, it's inevitable. The very first website launched August 6, 1991. It was made up of text, links, and anchors. See the website here. And today, we are developing solutions for watches. As a designer or developer progresses in their abilities, it would serve them well to look back at past works and realize just how much they have improved.



Sunday, December 30, 2012

UX Design Process

In newer mediums like user experience design there is always room to improve the process. Here is one I have been perfecting for 5+ years.


1. Research
a. Gain insight of user needs, pain points, & motivations
b. Review similar projects & design ideas
c. Understand functionality & purpose
Deliverable:
1. Personas
2. Competitive Analysis
2. Executive Summary


2. Information architecture
a. Conduct card sorting exercises
b. Investigate user paths
Deliverable:
1. Information Architecture
2. User Flow Diagrams


3. Layout
a. Begin with b/w sketches centered on the layout
b. Create solutions for the user flow diagram
Deliverable:
1. Low/High Fidelity Wireframes


4. Interaction
a. Determine how the user will interact with elements
b. Develop hover, click, & touch states
Deliverable:
1. Low/High Fidelity Prototypes
2. UX Guidelines


5. User Interface
a. Define colors to inform the user
b. Transform wireframes into dimension and space
Deliverable:
1. Mockups
2. Styleguide


6. Voice
a. Understand the brand's voice
b. Create typical phrases the brand would say
Deliverable:
1. Content


7. User Interface Development
a. Create common classes and elements
b. Develop reusable templates
Deliverable:
1. HTML5/CSS3/JavaScript


8. Usability Test
a. Investigate usability issues
b. Work with developers to resolve problems
Deliverable:
1. Bug Report