Tuesday, September 22, 2015

Smashing Newsletter #145: Freebies, Photoshop and A Dash of CSS

Smashing Newsletter #145: Freebies, Photoshop and A Dash of CSS

Front-end tools, clever tricks and eye candy. Issue #145 Tuesday, September 22nd 2015 180,460 readers View in the browser

The Smashing Email Newsletter

Dear Friends,

Conferences come and go, but great experiences remain for a while. When we organize an event, we do everything we can to create memorable and valuable experiences: with talks that provide value and with networking that makes it easy to share and learn from each other. In fact, while preparing for SmashingConf Barcelona in October 2015, we're getting ready for our annual UK event — SmashingConf Oxford 2016, taking place on March 15–16 in lovely Oxford Town Hall, UK.

SmashingConf Oxford

Speakers, you ask? Tighten your seatbelts: first speakers are Aarron Walter, Rachel Nabors, Robbie Manson, Sara Soueidan, Wes Bos and Leisa Reichelt. The tickets go on sale next Tuesday, October 6th, at 2PM London time. We'll have 50 early birds available, too. Better mark your calendar and don't be late — the tickets are selling fast! If not UK, perhaps we see you in Barcelona next month — it's going to be quite a smashing conference, that's for sure!

See you soon!
— Vitaly (@smashingmag)


Table of Contents

1. Dealing With Long Words in CSS
2. Recreating The Apple TV Icons
3. Free Icons: Web Hosting and Landmarks Icon Sets
4. Life Is Too Short For Boring Checkboxes
5. When Photoshop Meets Code
6. Using Modernizr 3 To Detect Flexbox
7. Bullettproofing Slider Interfaces
8. Moriston: A Typeface With Character And Enthusiasm
9. Copy Matters
10. Keep Calm And Attend A Smashing Workshop!
11. New On Smashing Job Board
12. Smashing Highlights
13. Recent Articles On Smashing Magazine

1. Dealing With Long Words in CSS

So you have to design a responsive interface that would accommodate for a dozen of different languages. However, on a mobile device you might run into issues with the length of those words, especially if you have to support German language. So how do you deal with this issue?

Dealing With Long Words in CSS

Well, text-overflow: ellipsis; could work, but then you truncate your headings and can't really predict what they will look like. Michael Scharnagl has been doing research and he found a quite bulletproof solution. As it turns out, the best option is to combine overflow-wrap with word-wrap and hyphens that will show hyphens for every browser supporting it and will break lines in every other browser. Solved! (vf)


2. Recreating The Apple TV Icons

When software designer Nash Vail watched the Apple Event on September 9th, he saw something that completely blew his mind. Not the new iPhone, not the XL iPad, but one small detail: the icons in the Apple TV interface. What's so special about them? Well, the closer you move the cursor to an edge of an icon, the more it rotates along the perpendicular axis. But not only that. It also translates away from the cursor as if it is following it in a three-dimensional space. (If you haven't seen it already, here's a demo.) Impressed by the playfulness of this effect, Nash tried to recreate it — successfully.

Recreating The Apple TV Icons

What seemed like a complex process at first, turned out to be reproducible with a bit of math and some CSS and JavaScript. In the end, Nash ended up with a small .js file that makes it easy to create your very own Apple 3D-effects. Clever! (cm)


Advertisement
Ad: Real-time image resizing


3. Free Icons: Web Hosting and Landmarks Icon Sets

When it comes to free icons, quite often you see pretty much the same icons — social media icons or desktop icons — being redesigned and redesigned every now and again. However, what about something different for a change?

Web Hosting and Technical Support Icon Set

Vecteezy has released a Web Hosting and Technical Support Icon Set with 36 icons available in AI, EPS, PSD, SVG and PNG, for free download and use. Pugmarker has released free world landmark icons (12 icons, PSD, PNG, AI, PDF and EPS). So what about you? What about accessibility icons? Birthday party icons? Conference icons? We can't wait what you can come up with, and perhaps we could release a set on Smashing Magazine one day? (vf)


4. Life Is Too Short For Boring Checkboxes

Toggle switches usually all follow the same pattern: the field remains empty in the left position and fills with color in the right position. A reliable method. To make the trusty toggle switch a bit more playful for a change, Natalya (@natalyathree) came up with a fun solution: the CSS Kitty Toggle. It shows one emoji in the left position and a different one in the right position. Imagine a thumbs up for "yes", a thumbs down for "no", for example.

Life Is Too Short For Boring Checkboxes

If you want to snag this idea for your project or just want to tinker with it, Chris Coyier's article gives you the building blocks you need in order to get started. The possibilities are endless. So have fun! (cm)


Advertisement
Ad: Real-time image resizing


5. When Photoshop Meets Code

Photoshop is still a favorite among a lot of web designers. And the right tools make it even more powerful as it already is. Take HTML Block, for example. The plugin renders HTML/CSS on the fly right in your Photoshop document. Just place the code in a special block and see it come to live thanks to the WebKit engine. Great if you want to use web fonts in your mockup or to implement native OS X elements such as buttons, checkboxes and input fields in your design.

When Photoshop Meets Code

If you build in the browser but need a Photoshop file of your design, you might want to check out Page Layers. The screenshot app for Mac converts any web page to a Photoshop file with separate, named layers for all page elements. Just open a site in the built-in browser and save the page as PSD. A real time saver, also when redesigning or improving existing site designs. (cm)


6. Using Modernizr 3 To Detect Flexbox

Three years after the last major update, Modernizr has been finally updated. It's a feature-detection library that detects whether a browser supports a specific feature. The new version comes with a modular architecture, which means that you can define what feature tests you need and download just what you need — limiting the size of the script only to tests you actually need.

Using Modernizr 3 with Flexbox

The new version also detects varying levels of flexbox support. Zoe M. Gillenwater published a detailed piece on how to test whether the browser supports the flex-wrap property and older flexbox syntax specifically, since the support varies in browsers. Keep in mind that Flexbox can co-exist with table-cell, floats and (relative) positioning, so you can use the library to provide a simple layout to IE <=10 and enhance the experience with a better layout for smarter browsers. The only downside of Modernizr is that it has to be loaded in the header of the page. Hence, use only if needed. (mse)


Advertisement
Ad: Real-time image resizing


7. Bullettproofing Slider Interfaces

Slider interfaces seem intuitive, but out in the wild they can turn out to be quite problematic. In fact, a recent e-commerce usability study conducted by the Baymard Institute found that sliders not seldomly end up as a case of false simplicity: it seems simple, but when users try to interact with the interface it breaks apart and results in a clumsy experience. But that doesn't mean we should avoid sliders at all cost. If we stick to just a handful of implementation details, we can make them work, for good.

Bullettproofing Slider Interfaces

To bulletproof your sliders even further, you can also turn to an accessible slider script such as Brian McAllister's fd-slider. It conforms to the WAI-ARIA defined role of "slider" and can also be used as an HTML5 input range polyfill solution. Besides that, the slider is keyboard accessible and iOS touchscreen-friendly. (cm)


8. Moriston: A Typeface With Character And Enthusiasm

When Riley Cran saw a 50's "Rollfast" bicycle leaning against a tree on a fall day in New York City, it was one of these moments, when an idea catches fire. Riley loved the design of the bicycle, but what caught his eye even more was the logotype on the bike frame. The characterful "R" and the ultra-bold, high-contrast caps conquered his heart immediately. It was the moment when Riley asked himself what would happen if an entire font family was built this way. What would come around if an early 20th-century grotesque shifted into new territory through higher contrast? Fortunately, the thought didn't let go of him; it was just the beginning. The beginning of the typeface Moriston.

Moriston: A Typeface With Character And Enthusiasm

Inspired by the chapped logotype on the vintage bike, Moriston is a sans-serif typeface with unusually high contrast and full, round curves. The bolder weights are full of character while the lighter weights prove functional even in larger pieces of text. Moriston comes in six weights and supports over 200 languages and a variety of additional number style. If the typeface conquers your heart, too, you can pay what you want for a personal license. Not good enough? Try Born, a free serif humanist typeface for text, designed by Carlos Toro.(cm)


9. Copy Matters

Who doesn't love good copy? A delightful release note, an amusing 404 page, a fun twist in an order processing screen — they make us pause, think, chuckle and, well, they make us feel connected to a brand. A simple yet effective way to build loyalty.

Copy Matters

If you're into details like these, then Andrew Carman's blog Copy Matters is for you. Whether it's web copy or pieces he spots out in the wild (such as the motto of a burglar alarm system company promoting its services with "Making Nothing Happen Since 1946"), Andrew collects all those little gems that cross his path. As diverse as they are, they are bound to cater for a lot of fresh copywriting inspiration. (cm)


10. Keep Calm And Attend A Smashing Workshop!

With so many techniques, tools, libraries, 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 front-end and RWD workshops are all about: practical front-end and RWD workshops that will help you become better front-end developers and designers, today.

Keep Calm And Attend A Smashing Workshop!

Full-Day Workshops at SmashingConf Barcelona

Upcoming Smashing Workshops and Meet-Ups:

But what about in-house training instead? We can improve your eCommerce checkout and conversion rates right on spot — or performance, accessibility or UX. Feel free to get in touch with Vitaly at vitaly@smashingconf.com and briefly describe what problems you're facing and would like to solve. Don't worry about the cost — we'll find a fair price for sure. Get in touch — it's that easy! (vf)


11. New On Smashing Job Board

Here are the recent job openings published on our Smashing Job Board:

  • User Experience Architect at Tait Towers (Boulder, Colorado)
    "Looking for only the most talented User Experience Architect Professionals…Join our dynamic TAIT team and work for one of the coolest company's around the globe. If interested click into the link to find out more..."

  • Senior Product Designer at Animoto (New York City)
    "Be a part of building the best experience for millions of Animoto users each day. As a senior member of the design team, you will be immersed in, and in many cases, leading both product and brand discussions in tandem."

  • Web Designer at Project A Ventures (Berlin, Germany)
    "We are looking for cutting-edge web designers who are willing to take responsibility in a powerful startup environment. You will be working across our portfolio companies in close and direct cooperation with the founding teams."


12. Smashing Highlights

  • How To Benefit From CSS Generated Content And Counters
    Generated content was first introduced in the CSS2 specification. For several years, the feature was used by relatively few Web authors due to inconsistent browser support. With the release of Internet Explorer 8 in 2009, generated content was rediscovered, and many interesting implementations were adopted for the first time.

  • Free Download: Cheat Sheet For Designing Web Forms
    Forms, forms, forms: so often overlooked in design. In this post, we are pleased to release the Form Design Cheat Sheet, created by Joe Leech. This crib sheet contains an Omnigraffle template, as well as Photoshop (PSD) and PDF examples for you to download and use as you wish.

  • Rethinking Responsive SVG
    In this article, I'd like to explore what we can do with SVG beyond "traditional" scalable vector graphics that are used to replace bitmap PNGs. In fact, we can see SVG as an independent module that encapsulates CSS for the customization of views as well as the responsive behavior that also encapsulates JavaScript for the interaction logic.


13. Recent Articles On Smashing Magazine


Sent to truly smashing readers via Mailchimp.
We sincerely appreciate your kind support. You rock.

Email: newsletter@smashingmagazine.com
Follow us on Twitter Join us on Facebook

The authors are: (mse), Cosima Mielke (cm), (), Iris Lješnjanin (il), Vitaly Friedman (vf), Christiane Rosenberger (research), Elja Friedman (tools).

unsubscribe update preferences view in your browser



Thursday, September 10, 2015

Smashing Newsletter #144: Free PDF, Prefetching and Emojis 💁

Free PDF, Prefetching and Emojis 💁 Issue #144 Thursday, September 10th 2015 180,293 readers View in the browser

The Smashing Email Newsletter

Dear Friends,

When we hit the "Publish" button on Smashing Magazine for the very first time (back in September 2006), there was no master plan, only the desire to create something that we found useful and that we hoped others would find useful, too. Now, nine years, countless articles, a library full of eBooks and nine printed books later, we want to take this anniversary as an occasion to give something back.

Editorial

We dived deep into our books on the look out for timeless treasures and neatly bundled them up in a free eBook "Best Of Nine Smashing Years". It's a humble gift to you, our dear readers, you who made it all possible and with whom we've grown and evolved over the years.

In the end, we chose chapters from all our printed books and opted for a mix of typography, psychology, responsive web design and performance optimization among others. You can download the eBook for free (.zip, 21.4 Mb) (or download the book in each format separately: PDF, ePub, Amazon Kindle).

But that's not it, yet. We're also happy to share a free excerpt of the Smashing Book 5 with you — Vitaly's chapter on responsive design patterns and components. In this chapter, we'll look into clever practical techniques for improving the UX of responsive sites, with innovative approaches to designing "responsive modules" such as mega-drop downs, tables, calendars, accordions, maps, sliders, responsive PDF and responsive iconography.

Enjoy your smashing birthday goodies, and, again, thank you for your wonderful support throughout all these years!

— Cosima and the Smashing Team


Table of Contents

1. Repeating Background Patterns With SVG
2. Github Healthcheck
3. Prefetching, Preloading, Prebrowsing — Oh My!
4. Tufte CSS
5. The Hyperlink Battle
6. Across The Universe: Stunning Wallpapers For Your Desktop
7. When Music Meets… Emojis!
8. Heroes And Villains As We Did Not Know Them
9. Keep Calm And Attend A Smashing Workshop!
10. Smashing Highlights
11. New On Smashing Job Board
12. Recent Articles On Smashing Magazine

1. Repeating Background Patterns With SVG

SVG images have a lot of benefits: they are typically smaller than bitmap images and remain sharp even on large screen resolutions. Perfect when we want to fill the background of a DOM or SVG element with a repeating pattern. The easiest way to do so is to create an SVG file that defines the pattern and use it as a pattern fill. If you need a little assistance with this or seek some inspiration creating such patterns, Irene Ros' Pattern Fills library is your place to go.

Repeating Background Patterns With SVG

The library offers several premade SVG-based patterns that can be customized to match your color scheme. To define a pattern, you can either use SVG pattern defs or CSS background image URLs — a tutorial shows you how to do it. A nice bonus: Pattern Fills also works from the command line. (cm)


2. Github Healthcheck

When you need to decide on whether or not to use a library, you'll also need to look for how well it is maintained. There are some obvious indicators such as the age of the last update and the number of open bugs to check. Githubhealth does it that way and requires authentication with your Github account first.

Github Healthcheck

A very handy to-go alternative is isitmaintained.com, which checks the relative percentage of open issues and pull requests and the time they stay open. No matter what you prefer, you might sleep a bit better when you can trust on a good support of the platform of your choice. Kudos to Raymond Camden and Matthieu Napoli for two awesome tools! (mse)


Advertisement
Ad: Real-time image resizing


3. Prefetching, Preloading, Prebrowsing — Oh My!

In conversations about front-end performance, we tend to focus on good ol' reliable workhorses: minification, caching or gzipping assets on the server. Some of these practices will fade away with HTTP/2, but there are also a few obscure, smart pre-fetching techniques which we can use to tell browsers how to get content to users faster — for example, with DNS-prefetch, subresource, the standard prefetch, preconnect and prerender.

Prefetching, Preloading, Prebrowsing — Oh My!

As Patrick Hamann explains, pre-fetching is a way of hinting to the browser about resources that are going to be used in the future. DNS-prefetch helps browser resolve the DNS of a resource as quickly as possible; preconnect additionally makes the TCP handshake, and optional TLS negotiation (e.g. for gravatar images or web fonts). The standard prefetch actually requests a file and stores it in the cache for later reference, and subresource files are the prioritized ones. We can also pre-render a page if necessary (e.g. for a complex data visualization or checkout).

The level of support for these properties varies, but smart modern browsers will have it included. So we can start using them today. A good place to start learning about them? Preconnect, prefetch, prerender slides by Ilya Grigorik and a CSS-Tricks article on Prefetching by Robin Rendle. (vf)


4. Tufte CSS

Edward Tufte's style of presenting information is well known for its simplicity and neat integration of graphics with text. Dave Liepmann has distilled Tufte's approach for the web and created Tufte CSS. With styles for text, tables, code and sidenotes, plus an interesting take on lists, Tufte CSS could be a useful way of bringing some of Tufte's ideas to the web.

Tufte CSS

As Dave notes: "Tufte CSS is merely a sketch of one way to implement this particular set of ideas. It should be a starting point, not a design goal". If you see ways of adding to or improving the styles, you can contribute to the project via GitHub. (og)


Advertisement
Ad: Build absolutely any theme with Monstroid


5. The Hyperlink Battle

What do you get when you take two designers, one letter and two hyperlinks every day? Hyperlink Battle! To acknowledge the power and importance of hyperlinks, Murilo Mafra and Zeh Fernandes decided to create a competition around them. Every day they pick one hyperlink each and let them compete for our vote. Who brought the best one?

The Hyperlink Battle

The most important rule: the links have to be related to the letter of the day (which is illustrated by another artist each time). The battle lasts 26 rounds, after that the winner will be announced — and he'll decide the loser's faith, as Murilo and Zeh state in their rules. A fun project that has some real treasures to offer. (cm)


6. Across The Universe: Stunning Wallpapers For Your Desktop

Space agencies like NASA and ESA are capturing some wonderful images of the awe-inspiring beauty of space and the objects in it. From pictures of the birth of galaxies to the surfaces of alien worlds and our intrepid robotic tools exploring them, Psiu Puxa is releasing photographs as wallpapers for your devices.

Across The Universe: Stunning Images For Your Desktop

You can view the Martian dunes traversed by NASA's Curiosity rover, gaze into deep space at the eye of the Helix Nebula, or wonder at the shredded clouds and flame-like plumes of the magnificent starburst galaxy, Messier 82 – all on your desktop, tablet or phone. Updated weekly, Psiu Puxa is a fabulous photographic resource for anyone inspired by outer space! (og)


Advertisement
Ad: Learn to drive effective digital communication


7. When Music Meets… Emojis!

What do the Rolling Stones, the Village People and Bob Marley and the Wailers have in common? Well, not too much to say the least. Except perhaps for one thing; they are all part of a very special hall of fame: Bruno Leo Ribeiro's project Music Emojis.

When Music Meets… Emojis!

For Music Emojis, Bruno takes the signature, flat emoji guy that we all know from our phones and transforms him into a famous musician. A strand of hair here, some wrinkles there, add a cigarette and our nameless smartphone buddy magically becomes Keith Richards. What sounds so simple is quite an art and requires reduction to the most essential — and that isn't always as easy, as we all know. An impressive — and fun! — project. (cm)


8. Heroes And Villains As We Did Not Know Them

Every hero has an enemy. What would Batman be without Joker, Captain America without Red Skull or Wonderwoman without Cheetah? For his project Really Super Mario vs. Really Super Wario designer Rob Lafratta revives the old heroes and villains topic — with an unforeseen twist.

Super Wario

The heroes and villains in Rob's project seem familiar yet they look so different from the ones we remember from our childhood comic reading sessions. For a good reason: Batman, Catwoman, their capes and suits, it's all there, but this time it's not them who slip into the legendary superpower gear, but… Super Mario and Super Wario! And, well, we have to admit: it makes Mario and Wario look really good. Great fun — not only for comic lovers.(cm)


Advertisement
Web Designer News


9. Keep Calm And Attend A Smashing Workshop!

With so many techniques, tools, libraries, 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 front-end and RWD workshops are all about: practical front-end and RWD workshops that will help you become better front-end developers and designers, today.

Keep Calm And Attend A Smashing Workshop!

Today's Online Workshop

Full-Day Workshops at SmashingConf Barcelona


Upcoming Smashing Workshops and Meet-Ups:

But what about in-house training instead? We can improve your eCommerce checkout and conversion rates right on spot — or performance, accessibility or UX. Feel free to get in touch with Vitaly at vitaly@smashingconf.com and briefly describe what problems you're facing and would like to solve. Don't worry about the cost — we'll find a fair price for sure. Get in touch — it's that easy! (vf)


10. Smashing Highlights

  • Freebie: Boldons Icon Set (45 Icons, PNG, AI) How often do you find yourself searching for lovely, friendly, well-designed icons that would fit well into a rather informal design atmosphere? Well, unless you tend to have only corporate clients, you could definitely use the icon set that we are releasing today.

  • Creating A Client-Side Shopping Cart Session storage is a new feature introduced by the W3C's "Web Storage" specification. It's supported in Internet Explorer 8+, Firefox, Chrome, Safari and Opera Desktop (for a complete list, please consult "Can I Use"). In this series of articles, we'll cover in depth a practical implementation of session storage by creating a complete e-commerce shopping cart with the sessionStorage object and jQuery.

  • Unveiling Photoshop Masks Design is a fluid and shifting process in which layers are constantly modified and tweaked. As complexity builds, so does the need for preserving data in a flexible way. Learning non-destructive editing techniques helps you produce documents that bend along with your creativity. Photoshop Masks are the cornerstone of this process.


11. New On Smashing Job Board

Here are the recent job openings published on our Smashing Job Board:

  • Product Designer at ChefSteps (Seattle, WA)
    "ChefSteps is looking for product designers with end-to-end experience designing products and systems that have the potential to invent culture."

  • Mobile UX Designer at Bloomberg (New York, NY)
    "Bloomberg is looking for a Senior Mobile User Experience Designer to define the mobile context for our extensive professional offerings. This role will tackle all aspects of the design process from research to prototyping and presenting to internal clients. In addition, this individual will help lead small project teams and guide varied product areas across mobile platforms."

  • UX Designer at Investopedia (New York, NY)
    "You live in the user's head and champion for user-centered design. You are a master storyteller. You have the ability to be both a visionary and hands-on as needed. You have the ability to inspire others and mentor junior designers. You care about making great product and have a deep, insatiable desire to bring Investopedia into the future."


12. Recent Articles On Smashing Magazine


Sent to truly smashing readers via Mailchimp.
We sincerely appreciate your kind support. You rock.

Email: newsletter@smashingmagazine.com
Follow us on Twitter Join us on Facebook

The authors are: Cosima Mielke (cm), Iris Lješnjanin (il), Vitaly Friedman (vf), Christiane Rosenberger (research), Elja Friedman (tools).

unsubscribe update preferences view in your browser