I'm sure you have seen your fair share of non responsive web design examples online - and you're probably thinking, "it's 2018 - and there are STILL non responsive web design templates being used?!"
Before we dive into what are best practices for responsive web design, lets dive a little deeper into the subject in case some our audience doesn't know exactly what that means.
For those who don't know, lets dive a little deeper into the subject.
What Is Responsive Web Design? A Definition
The responsive web design definition is the ideology that a website or a web application should respond to the user's behaviour based on the size of the screen, the platform and orientation.
In other words, the responsive web design template that you're using should literally shape-shift to whichever device you're using. Be it a mobile phone, a tablet, a laptop or a computer. The website you're viewing should adapt to whichever screen you are looking at it on.
In practice, responsive website design consists of a mix of flexible grids, layouts, images and smart us of CSS media queries. For example, if you switch from using your computer to your iPad, the website you are viewing should automatically shape-shift to essentially accommodate to your experience.
Now that we've explored what responsive web design is, lets head into what are best practices for responsive web design.
What Are Best Practices For Responsive Web Design?
Lets outline some of the best practices for responsive web design below:
Context Within The Layout
While it's important for the content in your responsive web design to fit perfectly and scale for the screen size that your user's are browsing your website on, you have to make sure the content is relevant for each device. There are certain elements that make sense to, for example, hide on mobile, but show on desktop. And vice versa. Having these elements properly display on each device is imperative for your website's conversions.
Navigation Must Be Scalable
More often than not, a responsive navigation is absolutely key to have in place. A large navigation that works as a mega menu on desktop, will not scale well if it's kept exactly the same when a user looks at it on a phone. When this happens, in most cases, it's best to hide the menu behind a hamburger icon. This way, when a user taps the icon, the menu items show. This allows for the responsive website design to be much more clean and concise.
Speed Is A Must
When getting into responsive web development, you have to take into account the speed of your website. Since one of Google's ranking algorithms is fast page speed, one of the best practices for responsive web design we can give you is keeping your pages lightweight. This means saving your images out at a medium-quality to make sure their file sizes are small in order to load fast. You also want to minimize the amount of images used on your website, where ever possible. Another best practice for responsive web design would be to leverage browser caching - so everytime a user goes to your website, they don't have to download external scripts in order to load certain portions of your responsive web design.
How To Design Responsive Websites
If you've combed through any sort of responsive web design example online, you may have noticed how smooth and fluid the sites look on any device.
However, before any developer dove into responsive web development, they would have used a responsive web design software tool to get the job done.
Benefits Of Using Sketch For Responsive Web Design
- Pricing. Sketch only costs a one-time fee of $99. With Photoshop, you have to pay monthly in order to use it, as it usage comes through usage of Adobe Cloud.
- Amazing for designing mock-ups for different screen sizes. One of the best things about using Sketch, is that it's bare foundation is built upon designing for multiple different screen sizes. With this, comes the flexibility in the tools it provides.
- Sketch is vector-based. This means that you can zoom in a document 1000% or more, and everything will still be of crystal clear quality. It also means that your Sketch file sizes will be drastically smaller than that of Photoshop file sizes.
- Autosave. I don't understand how Photoshop hasn't implemented this yet. Forget to save a document and your computer shuts off? Don't fret. Sketch auto-saves. It's a life saver!
- Industry standard. Sketch has now become the industry standard for responsive web design. This is enough to switch over from Photoshop.
Benefits Of Using Photoshop For Responsive Web Design
- File organization. It's simply better than Sketch. You can organize your elements with Layers, and then organize those Layers into folders. This keeps project super clean and tidy.
- Artboards. Since Sketch hit the scene, Photoshop needed to up it's game for responsive web design. They introduced artboards - in essence, you are now able to design your website or app for any screen-size you would like.
- Image optimization. With Photoshop, you have control over optimizing your images for the web. This is extremely important for not only search engine optimization (SEO), but also for user experience. The faster your site, the better web experience your users receive.
- Image editing. You have full flexibility to enhance your images in endless ways. Sketch, lacks this feature.
How To Create And Develop Responsive Web Designs
So now that you've chosen a responsive web design program, it's time to create and develop your responsive web design into a full blown website.
The question is... how?
HTML5 + CSS3
The core of most websites online, is that of HTML5 and CSS3. HTML is a hyper text markup language - think of this code as the building blocks of a web page. The CSS (cascading style sheet) is where you can control things like fonts, font sizes, colour, layout and more.
In the CSS, is where you'll be focusing on making your website responsive.
Specifically within the CSS, we would be utilizing what are called media queries. Media queries allow you to target what happens at a certain screen size. So if you wanted an element to have a background of red on desktop, but blue on mobile, you would do so utilizing responsive media queries.
Remember Dreamweaver? Yeah, neither do we.
Text editors have vastly evolved since then. Here's a few of our favourite text editors we like to use in order for developing responsive websites:
Thank God for responsive web design frameworks!
These frameworks speed up your development ten fold. They're built with semantic responsive design classes in mind, and they save you hours upon hours or repetitive tasks that you would have had to do if you didn't use a responsive framework.
Some of our favourites are:
Responsive Web Design Examples
One of the best sources on the web for responsive web design examples can be found here. They provide vast amount of different industries that use responsive websites, and it's a great resource to check out.
We hope you've learned a lot about what are the best practices for responsive web design! Feel free to check out our work of responsive web designs as well.