background preloader

Responsive Web Design

Facebook Twitter

Leaf 0.1 ALPHA - CSS Framework. Ideas to Keep in Mind When Designing User Interfaces. I will talk about a few interaction design concepts and best practices that when applied will result in the creation of great UIs. What is a good user interface? As you read through the following ideas, you will see two reoccurring themes: Ease of use and simplicity. Ockham’s Razor and KISS Ockham’s razor (or Occam’s razor) can be summarized as follows: When solving a problem that has more than one possible solution, the simplest solution is better, and most likely to be the correct one. In the context of user interface design (UID), this means the user should be able to do what needs to done with the minimum amount of actions required, and that a simple interface is better than a more complicated one. A closely related principle is the KISS principle.

Use common design patterns to avoid confusion and maximize familiarity. Comprehension is Better than Memorization An effective UID doesn’t burden the user with the task of memorizing how the interface is supposed to work. Poka-Yoke Principle. The 2014 Guide to Responsive Web Design | Treehouse Blog. UX Crash Course: User Psychology. Basic UX Psychology: How to get started The following list isn’t everything about designing behavior. It’s a quick overview, so you can go from zero-to-hero as quickly as possible.

You will get lots of practical ideas and techniques to use in your designs and strategies. The lessons follow the order of a real-life UX process (more or less) so you can apply these ideas as-you-go. Introduction & Key Ideas #01 — What is User Psychology? #02 — Your Perspective #03 — The 3 Whats of User Perspective #04 — Psychology vs. Behaviour Basics #05 — What is an Experience? #06 — Conscious vs. . #07 — Emotions #08 — What are Motivations?

#09 — Motivations 1: Sex & Love #10 — Motivations 2: Affiliation, Status & Justice #11 — Motivations 3: Understanding (Curiosity) Designing Behaviour #12 — Designing with Intention #13 — Rewards & Punishments #14 — Conditioning & Addiction #15 — Gamification #16 — Social & Viral Structure #17 — Creating Trust The Limits of Our Minds #18 — What is Intuition? #19 — What is a Cognitive Bias? A Maintainable Style Guide - Ian Feather. Parallax Done Right. Some Do’s Only use properties that are cheap for browsers to animate. Those are, more or less: translate3d, scale, rotation and opacity. Anything else and you’re probably not going to be running at 60fps. Use window.requestAnimationFrame when firing the animations in JS. This basically tells the browser animate stuff before the next repaint. Do this instead of just directly adjusting properties. window.requestAnimationFrame(animateElements); Round values appropriately.

AnimationValue = +animationValue.toFixed(2) Only animate elements in viewport. Any code example I tried for this felt super contrived. Animate only absolutely and fixed position elements. Use natural <body> scroll. Define all your animations in an object, not as messy spaghetti madness. Art-Directed Adaptive Images With SVG and JavaScript. There is a design truism that has been largely avoided in the web development industry to this point: not every image responds well to scaling. I’m not referring here to image quality – a relevant issue, but one that should eventually be addressed by advances such as the srcset attribute – but to aesthetics, particularly the visual relationship of pictures with other elements on the page.

As an example, take a fairly wide-aspect image used as a banner image, particularly one with a strong focal point. The image will work well on a desktop monitor with the browser maximized, but narrowing the window causes the responsive image to look increasingly out-of-balance with page content at smaller sizes: Ideally, we would prefer the image to be dynamically cropped as it scaled down, narrowing to the picture’s central point of interest: Current Solutions & Their Drawbacks Bitmap Images In SVG While it is best known as a vector image format, SVG has supported bitmaps from its inception: Automatically Exporting Assets from Sketch into Xcode. — Matt Zanchelli. Today, Bohemian Coding released SketchTool. It’s “a command-line app for exporting pages and slices out of .sketch docs.” Many people use Sketch in their Mac and iOS development workflow. Previously, the process involved making changes in Sketch, exporting them, moving them into Xcode Asset Catalogs, then running.

However, with SketchTool, this can all be done automatically. Screencast Download the files used in the screencast. Installing Sketchtool You can download the latest version of Sketchtool from Bohemian Coding’s website. Alternatively, use the following lines of code pasted into Terminal to do effectively the same thing: curl -O unzip;\ sudo cp sketchtool/sketchtool /usr/bin/sketchtool;\ sudo cp -R sketchtool/sketchtool\ resources.bundle/ /usr/bin/sketchtool\ resources.bundle/;\ rm -r sketchtool/;\ rm; Setting up your Sketch files Build scripts. 16 Brilliant jQuery Slider Demo Plugins. 1. Draggable Infinite Grid with Lightbox Pure OOP JavaScript code, no usage of jQuery or other libraries, in this way there will be no incompatibilities with HTML pages that might be using jQuery or other JavaScript libraries. Great performance on mobile devices, you can see in the video demo that it runs just like a native app!

, It was coded and optimized for mobile devices and it is 100% mobile compatible and of course it will run just as great on desktop computers including on older browsers like IE7 and IE8. Watch demo running on Samsung Galaxy S3 (android) or Watch demo running on IPAD (IOS). 2. JQuery No Conflict used Check out the demo. 3. Demo – Sliders: Home Page Slider Banner Slider Image Slider List Slider Responsive Slider Tab Slider Tiled Menu Slider Grid Slider Vertical Slider Full Width Slider Demo – Slideshow Effects: When touch and drag the slider with finger on a touch device like iphone (iOS, Android, Windows Surface), the slider will move left/right or up/down. 4. 5. Slit slider 6. Easy Color Contrast Testing. We have plenty of considerations to design for when crafting websites. Web accessibility is not a new design consideration, but is still very important, no matter the size or speed of device we’re testing on.

The Web Content Accessibility Guidelines (WCAG) tells us our content should be distinguishable and requires we “[m]ake it easier for users to see and hear content including separating foreground from background.” We know that our color contrast ratio should be 3:1 for non-decorative text, sized larger than 18 point or larger than 14 point if bold. Text smaller than that should meet a contrast ratio of at least 4.5:1.

Maybe you have amazing eyeballs that can help you recognize contrast levels. If, like me, you do not have magical corneal calculators, then you probably have utilized one of the tools out there to check contrast, such as: WebAIM’s color contrast checker, Snook’s contrast slider, Check my colors URL input check, or a WCAG checker add-on for Firefox.


Typekit. Chartspree | Make charts in seconds. How to Choose the Right Icons. Icons are nothing new when it comes to web design, but that doesn’t mean selecting the right icons to use is an easy task. Like anything else when it comes to your website, careful thought is required to determine the use and need for each component.

Whilst sprinkling your pages with decorative icons may give your site a unique feel, it’s rarely the wisest of choices. In today’s article, we’ll look at some tips to keep in mind when selecting an icon set, and then we’ll run through a shortlist of some of my current favorites. Universal Symbolism and Shape uses a typewriter icon to denote the text tool First and foremost, your icons need to be easily and instantly recognizable.

At times, it can be easy to become enchanted by a particularly beautiful icon set — despite the fact the icons available may not be suited to your intended messages. Other times, it can be tempting to try to be particularly original or clever in your icon choices. However, ask yourself: Color and Consistency. Present & annotate design concepts | Onotate. Stock photos that don’t suck. Interview Questions and Exercises About CSS. If you're in the position of needing to interview someone about their skill and knowledge about CSS, it can be a little hard to think of things to ask on-the-fly. I thought I'd think up and round up some ideas for reference.

Exercises To Do Seeing people's actual work is just as important as what they say. Seeing people work their through exercises live might be even more important. These are some exercises that aren't particularly difficult and anybody with CSS experience should be able to do. Create This Button I saw this idea on Mobify's CodePen account. Using CSS properties alone, recreate this button: This would be a great test of the candidate's CSS3 skills. How did they handle multiple borders? I hope I didn't ruin Mobify's hiring process! Fix The Sidebar The right sidebar here has fallen down below the content. Even though the two columns are 75% and 25% wide and floated opposite ways, the sidebar has fallen. There are other ways. Make this fixed width design fluid. Here's a design. Techniques for Responsive Typography. When it comes to responsive type on the web, there's more to do than just resizing the text's container and having the text reflow inside of it.

This in-depth article covers various techniques for making text responsive. One of the most important aspects of responsive web design is responsive typography. When it comes to responsive type on the web, there’s more to do than just resizing the text’s container and having the text reflow inside of it. From choosing a font type and color, to achieving legible font sizes, line heights, and line lengths on different screen sizes, there are several ways to go about achieving fluid and truly responsive text on the web.

First Things First: Making text accessible Before getting into techniques to resize text on different screen sizes, you need to make sure that your text is legible and accessible by using sufficient color contrast and an easily readable font to avoid turning your page’s content into an eye sore. Choose A Readable Font Face Resources: Responsive images – end of year report. It’s nearly two years since I suggested a <picture> element as a strawman proposal as a way to solve the problem of responsive images, so let’s have a look at how we’re doing.

In September there was a big meetup at Mozilla’s Paris office organised by Mozilla’s Marvellous Mr Marcos who’s been very active in the Responsive Images Community Group and did the hard work of actually turning the <picture> strawman into a spec. Such is the combined allure of Marcos and Paris that a rep from Apple showed up – kudos to Edward O’Connor. The outcome of the meeting was that <picture> isn’t a viable option. Browser makers don’t like the fact that it’s a new element that does the same as <img> (or what <img> should do if we were speccing it today), and that it depends on multiple nested children. I’d based this on the HTML5 <video> and <source> pattern, but Ian Hickson already said “we learnt with <video> and <source> that having multiple elements for selecting a resource is a huge design pitfall”. 12 amazing tools for online collaboration | Design. Individuals in design teams don't always work together in the same office.

You may be positioned in distributed groups, or working from home, and clients can come from all over the world. This is where collaboration tools come in – they make it easier and faster for designers to get feedback and approve artwork in a professional manner, and they come in all sort of forms, from free Android apps to Chrome extensions. Here we gather together some of the best available online tools to allow designers to collaborate together in real time. Some are created specifically for designers, some serve as a concept crafting whiteboard, and we've also included some more full-on project management tools for when you need to take your collaborative project to the next level. 01. Slack Want to improve communication with your team?

Perfect for anyone managing a team of remote employees, Slack enables project development to move forward more smoothly. 02. 03. 04. 05. 06. 07. 08. 09. 10. Tour | GoVisually. Draw on any webpage. Share thoughts. Move ideas. - Markup. Gradient Animation Trick. You can’t animate gradient colors in CSS. No, really. There are a lot of animatable properties, but the one used for gradients, background-image, is not on the list. Fortunately, if you were looking to animate a simple light-to-dark gradient fade, then there’s a decent workaround.

Use background-size to stretch your gradient to be taller than the element it’s on. Now you can animate background-position to slide the visible portion of your gradient up and down. The end result is an element with a smoothly animated gradient background that gets lighter and darker. Here’s the (simplified) code. And here’s a demo. Update: I’ve received a lot of feedback (here and elsewhere). The CodePen has some extra markup for the sake of the demo, but all you need is the single <button> and the CSS for it and its hover state.

Chrome, Safari, and Opera have since added support to animate background-image. Tim Severien. Posted on: October 21st, 2013 Photo: Wikipedia Alignment Horizontally and vertically Dynamic sized elements. Static sized elements. Another method for static sized elements (thanks Thomas). With percentages. Horizontally Block elements with a width value. Inline and inline-block elements. Vertically Inline and inline-block elements in a static parent. Faking tables. Sizing The following creates a full-sized block element, but it fails with borders, margins and padding. The next snippet creates a full-sized block element for full screen that doesn’t rely on box-sizing for margin and padding. Next we create an absolute element that’s always equal or larger than the viewport, based on the document’s height. Pretty much all methods mentioned here can be combined by nesting them.

Twitter/twui. 16:9 Aspect Ratio Calculator for content area width. Latest typography samples | Webflow - Responsive Web Design Tool. Style Tiles. Foundation: The Most Advanced Responsive Front-end Framework from ZURB. Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development. The Goldilocks Approach to Responsive Web Design. Display and present responsive web designs. This Is Responsive | Tips, Resources and Patterns for Responsive Web Design. Designing for a Responsive Web.

The web as we know it is changing. In the past, designers and developers only had to concern themselves with one medium: the computer screen. In recent years, however, a plethora of fully internet-enabled devices with scores of different shapes and capabilities have cropped up, meaning that we now have to design our websites to fit comfortably in as many screen sizes, shapes, and resolutions as you can possibly think of. Our old fixed-width layout approach is out of the question now. So what do we do? The answer, my dear reader, lies with Responsive Web Design. What is Responsive Web Design? The idea of Responsive Web Design, a term coined by Ethan Marcotte, is that our websites should adapt their layout and design to fit any device that chooses to display it.

In his book, the aptly titled "Responsive Web Design" he outlines the three parts to a responsive website: A fluid gridFluid imagesMedia queries If you only read one of those, make it the last one, written in May of last year. Library. Css3-mediaqueries-js - css3-mediaqueries.js: make CSS3 Media Queries work in all browsers (JavaScript library) A tale of two viewports — part one. Choosing A Responsive Image Solution.

Responsive Retina Ready Google Maps - Rob and Lauren. - Silly-fast mobile prototyping. Calendario: A Flexible Calendar Plugin. Codrops. 50 Useful Responsive Web Design Tools For Designers. Nifty Modal Window Effects.

Blueprint: On-Scroll Animated Header. Loading Effects for Grid Items with CSS Animations. ❍ IcoMoon. Skeleton: Beautiful Boilerplate for Responsive, Mobile-Friendly Development. Combining meta viewport and media queries. Media Query Snippets - list of media queries. CSS-Tricks. Viljamis/ResponsiveSlides.js. 80 Awesome Twitter Bootstrap Templates To Get You Started. Bootstrap Form Builder. Date Picker Input - Bootstrap Form Helpers. Country List - Bootstrap Form Helpers. Bootstrap - Lightbox. Fuel UX. Tablecloth.js. Gregoryloucas/Fontstrap. Font Awesome Icons. Bootstrap Magic : Generate simply your own bootstrap theme. Divshot: Interface Builder for Web Apps.

Simple as Milk Design Studio. Designers Rejoice, Froont Wants To Keep Developers Out Of The Responsive Web Design Process. Flat UI. 10 Developer Tips To Build A Responsive Website [Infographic] – ReadWrite - Aurora. Responsive Nav — Responsive Navigation Plugin. HTML5Pattern.


CSS. Jetstrap - The Bootstrap Interface Builder. Gallery of free HTML snippets for Twitter Bootstrap. | Filamentgroup/Responsive-Images. Cross-browser testing, mobile | Edge Inspect | Edge Tools & Services. Screenfly by QuirkTools — Test Your Website at Different Screen Resolutions. Bootstrap switch - by Mattia Larentis. Bootstrap toggle buttons 2.8. Twitter Bootstrap Button Generator | PlugoLabs. Bootstrap Tour, easy product tours with Bootstrap from Twitter. FitVids.JS - A lightweight, easy-to-use jQuery plugin for fluid width video embeds.

FitText - A plugin for inflating web type. jQuery Masonry.