This newsletter issue was sent out to 230,055 newsletter subscribers on Tuesday, May 25th 2017.
When we talk about responsive design in the community, we usually tend to focus on screens alone. However, responsive design isn’t just about mapping an experience from one viewport to another.
During my presentation at FITC Toronto yesterday, I mentioned the possibilities for the use of the Battery Level API to adapt the experience in a responsive way. The API (which is quite well supported) communicates with the device’s hardware and exposes data about the device’s charging state, accessible via
I wasn’t expecting the backlash of security, privacy and fingerprinting concerns about the API, referencing mischievious tactics of abusing the API. In fact, it has been removed from WebKit as well as from Firefox. From Firefox 52 onwards, the Battery Status API is only available in chrome/privileged code. Why? The combination of battery life as a percentage and battery life in seconds offers 14m combinations, providing a pseudo-unique identifier for each device.
There are always ways to misuse technology, unfortunately. Be it by displaying install prompts on mobile screens, or using “Like” buttons in a wrong way, slowing down users and sending data about their behaviors to Facebook or Google. It’s not a reason for promising APIs to disappear though.
Responding to the battery level meaningfully and respectfully can make a user experience better by removing barriers on their way to completing tasks on a draining battery. Perhaps the API could be modified to sandbox the impact of modified behavior and styling, like it is the case with restrictions on :visited pseudo-class in CSS. The spec and implementations will only get better if we, as designers and developers, actually use them in our projects.
Can you see a way how your website or app could benefit from the API? Why not add it to a project or two and see if it bears any benefits? Your users just might appreciate it.
Stay charged (or not)!
Table of Contents
- The Invisible Parts Of CSS
- Never Give Up! Never Surrender!
- A Curated Directory Of Boilerplates
- Checking For Interaction Feature Support
- FAQs To Smoothen Your Job Hunt
- Export Sketch Designs As HTML Email Templates
- An Online Magazine Dedicated To How Teams Work
- Making Oops Less Awkward
- Upcoming Smashing Workshops
- New On Smashing Job Board
- Smashing Highlights (From Our Archives)
- Recent Articles On Smashing Magazine
(#)1. The Invisible Parts Of CSS
As a developer you wrangle with CSS on a daily basis. But let’s be honest, could you describe in simple terms what
display: block actually does? Well, it could be difficult, because, most of the time, we tend to care more about correct syntax and the visual results instead of how the underlying principles work. To help us gain a better understanding of how CSS actually works, Mike Riethmuller wrote up an exhaustive CSS refresher that is great for beginners and experts alike.
The article sheds a light into the hidden, invisible parts of CSS, the ones that hold everything together and make things work as they should. It removes misunderstandings about the Box Model, Visual Formatting Model, Cascade, and positioning schemes, for example, so you don’t have to rely on your intuition any longer when coding CSS but have a profound knowledge that can help you write better code. (cm)
(#)2. Never Give Up! Never Surrender!
While designing web experiences today, it seems like sorting through all the ever-changing variables requires superpowers. And yet, don’t you feel like Wonderwoman or Superman when you finally squash your bugs? We do, and we’re inviting you to share your superpowers, skills, and experiences with us at SmashingConf New York on June 13–14!
This 2-day-one-track-event brings together smart and friendly people willing to share their tricks and training methods, like Sara Soueidan, Jake Archibald, Yiying Lu and Eric Reiss.
We are also running 10 Smashing Workshops on June 12th and 15th! Learn about amazing illustrations from Yuko Shimizu, fighting UX and design battles with Joe Leech, and commanding Responsive Web Design with Vitaly Friedman, plus so many more! We sold out all workshops in the last year, so please don’t wait too long to secure your seat! (cm)
(#)3. A Curated Directory Of Boilerplates
Boilerplates can always come in handy when starting a new project. But there are so many out there that you can easily loose track of what’s available and, most importantly of all, which one is the best fit for you. Boilrplate provides a remedy.
The curated collection neatly sorts existing boilerplates by language/technology, so that you can easily find what you’re looking for — be it a simple HTML boilerplate, or one for React, Bootstrap or Android, for example. A nice detail: The directory provides the most important information about each boilerplate such as size, creation and update date at one glance. Worth bookmarking. (cm)
(#)4. Checking For Interaction Feature Support
Side projects give you the freedom to think outside the box and tinker with new techniques. And some might even have the potential to inspire fellow developers. Melanie Richards, developer at the Microsoft Edge browser platform, for example, reads a lot, and, thus, wanted a place where she could keep highlights from books and articles. So she whipped up a small Jekyll site hosted on GitHub Pages. Nothing too fancy, but with one neat little detail that’s interesting for all of us; she uses interaction feature queries to handle hover-dependent interactions.
The index of her highlights site presents rough papercut-style illustrations of the book covers. If you hover over an illustration, it fades to a high-fidelity version of the cover. A beautiful effect, but so far still nothing groundbreaking, because, well, what if your device doesn’t have hover capabilities? That’s where the media query which detects whether the hover feature is available or not comes into play. If the hover feature query is false or unsupported, there’s still visual feedback on the element. Melanie describes in detail what this could look like. Inspiring! (cm)
(#)5. FAQs To Smoothen Your Job Hunt
When UX designer Allison Milchling was hunting for a job at the end of last year, she needed to answer the same interview questions again and again. What does design mean to you? What’s the difference between a good and a great designer? What’s the most interesting project you worked on? That’s when she decided to collect her favorite questions and wrote down exhaustive answers for each.
The undertaking turned out to have two positive effects: It helped Allison think about her true answers for each question and, thus, gave her more confidence during the actual interviews. For hiring managers, on the other hand, the fact that she linked to the FAQs in the cover letter also meant a better opportunity to assess Allison and her way to tackle UX design projects more thoroughly. An ingenious idea. (cm)
(#)6. Export Sketch Designs As HTML Email Templates
Designing HTML emails can be tough. The Sketch plugin Slinky now attempts to change that, with a simple yet clever idea: Once installed, it lets you export your Sketch designs into ready-to-send HTML email templates with just one click.
As the plugin is still in an early phase, it isn’t free of bugs yet, of course. So there’s a few things to keep in mind when using it. Links are still a bit hacky, for example, and it’s also suggested that you use cross-platform fonts only as Slinky doesn’t check the template for custom fonts yet. If you encounter any issues, you can contribute them to the GitHub repository and help the plugin improve. Promising. (cm)
(#)7. An Online Magazine Dedicated To How Teams Work
Keeping team members on call is a necessity in the tech business — to be prepared for those moments when something unexpected happens that needs to be fixed quickly. But how do you handle on-call efficiently? And how do big players like Google, Amazon, and Netflix do it? These are just two of the questions that the first issue of the new online magazine Increment wants to answer.
Increment tackles the aspects of how software engineering teams can work together more effectively to achieve their goals smarter and faster. The issues are released quarterly and focus on testing, deployment, development tools, and code review topics. A good read that also shines with unique illustrations. (cm)
(#)8. Making Oops Less Awkward
Mistakes happen. 404 pages are the best example. But what’s crucial is how you deal with pages that aren’t found and links that end in an impasse. A friendly tone and some wit can make the situation for your users — but especially for you — a lot less awkward. Yes, things have even gone so far that a creative 404 page can help shape your brand’s identity and make you stand out from the crowd. Just take a look at the “Oops” pages that Andreas Storm collected from all over the web.
The showcase is full of surprising, clever, and funny ideas on how you can give an unpleasant 404 error a nice twist. Some are kept rather simple but shine with great copy, others seek inspiration in popular memes, yet others spin their visual identity further to develop little pieces of “Oops” art. Even if we try hard to prevent 404 situations, putting some love into their pages can never hurt. (cm)
(#)9. Upcoming Smashing Workshops
With so many techniques, tools, style guides, design patterns, strategies, abstractions, frameworks and boilerplates available nowadays, what do you really need to know to keep your workflow fast, smart and efficient? That’s exactly what our classes are all about: practical front-end and RWD workshops that will help you become better front-end developers and designers, today.
Workshops at SmashingConf New York — June 12
- Atomic Design: Process & Patterns – Brad Frost
- Good Ideas Make Great Illustration – Yuko Shimizu
- Persuasive Design – Horace Dediu
- The Modern Front-End Workflow Bootcamp – Umar Hansa
- Smart UX Design Patterns – Vitaly Friedman
Workshops at SmashingConf New York — June 15
- An Introduction To Service Design – Eric Reiss
- How to Design With Science Without Losing The Magic – Joe Leech
- Mastering SVG – Sara Soueidan
- New Front-End Adventures in Responsive Design – Vitaly Friedman
Workshops at SmashingConf Freiburg — September 10
- Smart UX Design Patterns – Vitaly Friedman
Workshops at SmashingConf Freiburg — September 13
- Modular Design – Alla Kholmatova
- Modern Front-End Workflow Bootcamp – Umar Hansa
- Advanced CSS Layouts With Flexbox and CSS Grids – Rachel Andrew
Public Workshops with Vitaly Friedman
- Sydney, Melbourne, Brisbane — Australia • Smart Responsive UX Design Patterns, Web Directions, May 4–12, 2017
- Hamburg — Germany • New Front-End Adventures in Responsive Design, 25hours Hotel Hamburg HafenCity, July 3rd, 2017
Or, if you’d like to run an in-house workshop at your office, feel free to get in touch with Vitaly at firstname.lastname@example.org and briefly describe what problems you’re facing and would like to solve. Don’t worry about the costs — we’ll find a fair price for sure. Get in touch — it’s that easy!
(#)10. New On Smashing Job Board
Here are the recent job openings published on our Smashing Job Board:
- Talented Front-End Developer at Codigo Vision (Remote)
“We’re looking for talented front-end developers with a passion for creating pixel perfect interfaces with clean, organized code that is easy to maintain.”
- Senior Front-End Developer at Simantel (Peoria, IL)
“We are looking for a senior professional with strong technical and UX skills and a focus on delivering high-quality software.”
- Brand Designer at Honor (San Francisco, CA)
“We’re looking for an experienced designer who will help create visually stunning and consistent brand assets, and contribute to our constantly evolving brand identity.”
(#)11. Smashing Highlights (From Our Archives)
- How To Deliver Exceptional Client Service
We often hear companies, including Web agencies, boast about how they provide exceptional client service. But how do they define exceptional?
- Content: A Blessing, A Bubble, A Burden
Everyone is talking about content. Googling the phrase “content strategy” retrieves almost 50 million results — a clear indicator that interest in content is very much in the zeitgeist. But the way we talk about content is beginning to sound a lot like the way we talk about money. So how can we truly respect content?
- Examining The Design Process: Clichés And Idea Generation
Where do good ideas come from? It’s a question that matters a great deal to designers, yet seems to be curiously discounted in the common perception of graphic design.
(#)12. Recent Articles On Smashing Magazine
- Applications Of Machine Learning For Designers
- Unleashing The Full Potential Of Symbols In Sketch
- A Brief Overview On Responsive Navigation Patterns
- Jekyll For WordPress Developers
- It’s Time To Start Using CSS Custom Properties
- Using Slack To Monitor Your App
Inspiration, Freebies, Misc.
- AMP For Retailers: Is It Worth It?
- How To Prototype IoT Experiences: Building The Hardware (Part 1)
- How To Prototype IoT Experiences: Configuring The Software (Part 2)
- Web Development Reading List #178: On CAA, Pong.js, And Meaningful Work
- Web Development Reading List #179: Firefox 53, The Top Web Browsers, And Vue.js Authentication
- It’s Here. Meet “User Experience Revolution”, A New Smashing Book (Print + eBook)