Friday, August 4, 2017

RWD Weekly #270 — Augmented Reality, Front End Guidelines, Truth behind Speed Index

View this email in your browser
Better Web Typography Site in 4 viewports

Hello.  


This week I came across a great approach when using CSS Variables and working it into animations on your site, especially when it comes to supporting the reduced motion media query. 

The SCSS looks like this....

:root {
  --duration: 1;
  @media (prefers-reduced-motion: reduce)
  {
    --duration: 0;
  }
}


Then you can use the CCS Variable within a CSS calc() function to set the transition speed. If the user has prefers reduced motion set to reduce then you set the transition speed to zero.

.element {
  transition: all calc(var(--duration) * 0.5s) ease-in-out;
}

.other-element {
  transition: width calc(var(--duration) * 0.2s) ease-in-out;  
}


Here's a codepen, but it's all thanks to this tweet.

Sponsor
Project management tools are obsolete

WP Migrate DB Pro — 20% off

WP Migrate DB Pro is literally the best plugin available for Wordpress for anyone that wants to do some local development or content creation. I use it for writing content on trains and plans with patchy wifi and it's so worth the money it's not funny. Take advantage of this deal today.

Get 20% off any purchase today.
 

Articles

 

5 years of Design Systems. A personal journey into scalable design.

If you're looking to start designing Design Systems then this is a great place to start. Following up from this article are a number of step by step articles on creating your very own Design System
 

Atomic Design & creativity

Creating analogies for Atomic Design so that you can explain your approach to this method through a way that someone is going to understand.
 

Speed Index Explained

Speed index is that bizarre number that you get when running your sites through a performance test (like web page test for example). This article goes into some detail about how this number is calculated, and some of the ways you can drop that number down.
 

What is Timeless Web Design?

Chris posed a question this week on what would you deliver to a client that wants a website with no changes at all that will still look good in ten years time.
 

Apple's refusal to support Progressive Web Apps is a detriment to future of the web

This article gained quite a bit of traction over the period of a week and as a result, or a complete coincidence (more likely) Apple have moved Service Workers from "Under Consideration" to "In Development".
 

Performance and Usage Implications of Custom Fonts

 

CSS VR

"Here's an early version of a CSS VR prototype I've been working on. I learnt a lot making this."
 

Tutorials

Area Learning with Multi-Markers in AR.js

Making Augmented Reality a reality on the web.
 

Using viewport units to scale fixed layouts

In theory, you could use viewport units to scale the entire website layout relative to the viewport width. Of course, this does not work for most websites. But there are edge cases where you need a layout that is fixed, but also relative to the viewport width.
 

Dynamic Changes With Javascript

Learn how to do a little more with CSS Custom Properties by updating it with Javascript. This is a simple color picker example, but other examples are included which increase in complexity
 

Crafting Webfont Fallbacks

Webfonts are a tricky thing to get right — the usual formula is: attractive visuals, good performance & reliable functionality (pick two). In this episode, see how you can get all three by properly employing a finely-tuned fallback.
 

CSS Architecture for Design Systems

 

DAM Delivers Consistency for Designers and Creatives

Study: Digital Asset Management (DAM) unites creative teams to develop omnichannel consistency. Download the report to learn more.
// sponsored
 

Tools & Resources

 

Frontend Guidelines Questionnaire

A one-page questionnaire from Brad Frost to help your team establish effective frontend guidelines so that you can write consistent & cohesive code together.
 

Shoelace.css

a back to the basics CSS starter kit
 

Remote Starter Kit by Hanno

Get off to a flying start as a remote team with these mighty-fine tools that are tried and tested by the Hanno team.
 

Nathan Curtis on Buttons in Design Systems

In this talk, Nathan will cover 12 lessons that he has learned when working on primary buttons, secondary buttons, and a whole host of other button types in an emerging system.
 

Have a great weekend and I'll see you next Friday!

Cheers,

Justin.
Copyright © 2017 Simple Things, All rights reserved.
You are receiving this email because you rock! You wanted to know more about Responsive Web Design so you signed up to this list to receive a weekly update with links to articles, tools and tricks of the trade.

Our mailing address is:
Simple Things
Studio 1, Make Space Studios
London, London SE17DR
United Kingdom

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list

Email Marketing Powered by MailChimp

No comments:

Post a Comment