background preloader

Responsive Menu Concepts

Responsive Menu Concepts
The following is a guest post by Tim Pietrusky. I know Tim from his prolific work on CodePen and from being a helpful community member there. He wrote to me with this guest post about responsive menus which I'm more than happy to share with you below. When it comes to responsive design we are faced with various techniques on how to best handle altering our navigation menus for small screens. Three of them are made with pure CSS and one uses a single line of JavaScript. Before We Start In the code presented in this article, I don’t use any vendor-prefixes to keep the CSS easier to see and understand. All menu concepts in this article are based on this simple HTML structure which I call basic menu. <nav role=""><ul><li><a href="#">Stream</a></li><li><a href="#">Lab</a></li><li><a href="#">Projects</a></li><li><a href="#">About</a></li><li><a href="#">Contact</a></li></ul></nav>​ To address small screens I use the same media query on all concepts. @media screen and (max-width: 44em) { } 1. 2.

Creating a Mobile-First Responsive Web Design Introduction We're going to walk through how to create an adaptive web experience that's designed mobile-first. This article and demo will go over the following: There is even more up to date responsive guidance on our new Web Fundamentals site. Why we need to create mobile-first, responsive, adaptive experiences How to structure HTML for an adaptive site in order to optimize performance and prioritize flexibility How to write CSS that defines shared styles first, builds up styles for larger screens with media queries, and uses relative units How to write unobtrusive Javascript to conditionally load in content fragments, take advantage of touch events and geolocation What we could do to further enhance our adaptive experience The Need for Adaptivity As the web landscape becomes increasingly complex, it's becoming extremely important to deliver solid web experiences to a growing number of contexts. However, mobile context is much more than just screen size. View the demo Structure Style Less JS

Responsive Navigation: Optimizing for Touch Across Devices As more diverse devices embrace touch as a primary input method, it may be time to revisit navigation standards on the Web. How can a navigation menu be designed to work across a wide range of touch screen sizes? In these demos, Jason Weaver and I decided to find out. The Demos Why do these navigation menus work across a wide range of touch screen sizes? Across Screen Sizes First, why do we care about touch across a wide range of screen sizes? Tablets are no different. And the very notion of what defines a tablet is being challenged by laptop/tablet convertibles and touch-enabled Ultrabooks. Even beyond 13 inches, touch and gesture interfaces are possible. Accounting For Touch So what does it mean to consider touch across all screen sizes? Touch target sizes are relatively easy: just make things big enough to prevent accidental taps and errors. Designing towards touch really forces us to simplify and decide what's most important- what needs to stay on the screen. An Adaptive Solution

Simon Foster | Blog | The Responsive Designer I had the plea­sure to speak at Web Expo Guild­ford on Fri­day 12th Octo­ber, and it was received very well despite my ner­vous­ness (it was my first speak­ing engage­ment at a web con­fer­ence) and the fact that I for­got about half the points I was going to make. So I fig­ured I’d write a quick overview of my talk and include some of the slides as well. You can see the video of my talk on vimeo. The name of my talk was “The Respon­sive Designer” and it focused on how my own expe­ri­ences with work­ing respon­sively and how the lessons I’ve learnt and the con­clu­sions I’ve made have made me a bet­ter designer. One major con­clu­sion (if you can call it that) that I’ve had is that if we as design­ers are mak­ing our sites so that they respond or adapt to what­ever device or screen size is thrown at them, then shouldn’t we as design­ers also be as adap­tive or respon­sive when work­ing on our projects? Adden­dum So how do we do that? Antic­i­pate change and expect the unex­pected. Colophon

A Three Step Guide to Usability on the Mobile Web Designing mobile sites is a different kind of web design. Much like your first experience of designing for the desktop web, it can be both exhilarating and daunting in equal measures. So many possibilities, yet so many usability restrictions. Don't panic, we've been there too. This paper is our "101" guide to getting your design and usability principles right. We'll start by setting some mobile web design rules to live and die by... Five Rules for Designing Usable Mobile Web Sites 1: The mobile web is mobile2: Context is king3: The devices are (very) different4: Forget your dotcom thinking. Rule 1: The Mobile Web is Mobile Never overlook the obvious. Rule 2: Context is King When it comes to usability, context is everything. This point is critical to the success of your mobile site: your can no longer account for where your users are accessing your site from. Rule 3: The devices are (very) different Mobile devices are, of course, very different to desktop and laptop computers. Limit choices.

Implementing Off-Canvas Navigation For A Responsive Website Advertisement Today, too many websites are still inaccessible. In our new book Inclusive Design Patterns, we explore how to craft flexible front-end design patterns and make future-proof and accessible interfaces without extra effort. The varying viewports that our websites encounter on a daily basis continue to demand more from responsive design. With the likes of Firefox OS2 (Boot to Gecko), Chrome OS3 and now Ubuntu for phones4 — an OS that makes “Web apps” first-class citizens — delivering native app-like experiences on the Web may become a necessity if users begin to expect it. A Demonstration Link In this article, I’ll be walking through a build demo that centers on two topics. With that in mind, let’s get building. The Accessible Base Link All good things begin with a solid foundation of semantic HTML and widely supported CSS. As a starting point, I’ll use a technique very similar to Aaron Gustafson’s “Smart Mobile Navigation Without Hacks6.” Demo 1 Breakdown Link What a difference!

What We've Learned About Responsive Design I was nervous when we decided to start doing responsive design. I thought it would completely disrupt our workflow, causing projects to be much more complicated, stressful, and far less profitable. Fortunately, that hasn't happened. It's not that it hasn't required us to make changes to our process, or that it's been stress-free. But it hasn't been a disaster, and that's what I tend to expect from change… After a year or so of doing responsive design projects, we've learned a ton, and I've solidified some of my opinions about what we're doing and how we're doing it. In a nutshell, responsive design is really about the nut, not the shell. The more flexible the information, the more variables there are to manage. Responsive design is more work. I've run into the idea that since responsive design is a more efficient mobile solution than creating unique mobile sites or alternate page templates, it is therefore going to be cheaper and simpler than what everyone is expecting. 1. 2. 3.

All about the design – top tips for designing mobile sites and apps from the professionals As mobile devices become increasingly capable and the mobile audience becomes increasingly sophisticated, companies are stretching the bounds of possibility when it comes to mobile sites, native applications and Web apps. It becomes all the more important to consider not just graphical design, but also the physical design of your mobile product. It is essential to know not only who will be using it, but how and where they will be using it. This is the fifth in our series of six app-related articles. The following guide was compiled from the responses of the following mobile design and usability gurus: All these experts spoke at Design for Mobile in Chicago, USA, September, 2010. The anatomy of good mobile design 1) Putting things in context Understand, respect and design for your users' contexts. 2) The mobile context Mobile means ‘on the go’ and ‘away from my desk’. 3) Make the most of the Platform Always design for mobile first – don’t just re-purpose your web site/app.

Responsive WordPress Menu Plugin for Mobile Devices The Responsive Select Menu plugin lets you automatically turn your “WordPress 3 Menus” into an easy-to-scroll select box/dropdown menu. (A “WordPress 3 Menu” is a menu created through the WordPress admin area: Appearance > Menus. Many people typically use these menus in their top navigation spot, as well as other places.) The Plugin in Action Let’s go ahead and jump right into some examples to show you what it looks like. Here’s a look at a normal top menu in a mobile device using the WordPress Twenty Ten theme. And now here’s a look at that same top menu with the Responsive Select Menu plugin activated. When you touch the menu and pull it down, you get a select box/dropdown menu that you can easily scroll through with your finger. Featured Plugin - WordPress Newsletter Plugin Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot. Find out more Settings Width Breakpoint See a Working Demo

Responsive Web Design: Clever Tips and Techniques Home | mobiThinking Article View the detailed comparison: What is responsive web design? Responsive web design is a rapidly growing approach to web development wherein webpage layouts respond to their environment. That is to say websites should look good and function well no matter where they’re viewed, be it a desktop computer or mobile phone. Responsive frameworks give developers a baseline for building responsive websites. The setup Each developer on our team tackled a different framework and then reported their findings back to the group. Which frameworks did we test? We focused on the three big responsive frameworks: Twitter Bootstrap ZURB Foundation (version 2 and 3) Skeleton Where are the pages we created? Our comparison actually isn't page specific but we did test real client designs including a recent website launch for Campaign for Action. The surprising results It wasn’t obvious beforehand, but responsive CSS frameworks fall into two categories: Twitter Bootstrap

A Responsive Web Design Tutorial for Beginners This is the second post in a series about Responsive Web Design, described in plain language from a front end designer. In our last post I wrote about three reasons responsive web design is something you should know about. We discussed the problems associated with the traditional method of designing a desktop and mobile version of a website. Essentially, there are just too many mobile devices hitting the market to tailor our websites to view well on them all. The thing I like about problems or challenges is that–if we let them–they make us better people and create space for innovation and solutions that may otherwise never be discovered. Designer and developer Ethan Marcotte was instrumental in solving this problem of device compatibility. In actuality, the problem is still being solved and responsive web design methods, tools and standards are still being developed and refined. Media Queries Responsive design uses a CSS3 feature called media queries. Break Points The Fluid Grid

Related: