The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

40% Sale in the Shop  

Have you been trying to find some kind of SALE happening online today, but coming up empty handed? We have some CSS-Tricks T-Shirts and hoodies in the store at 40% off (use coupon code trikzare4kids) now through Monday.

If you're size Small or XXL/XXXL, most of the designs are available. If you're Medium or Large, not so much, but we hope to have some kind of new fun merch soon.

Rolling Out Responsive  

Redesigning a site with responsive design? The tech stuff can be challenging, but easy compared to the decision-making, process-defining, and organization-wrangling before you even get there. Karen McGrane has a new book on all this stuff called Going Responsive, and this link post links to Chapter 2 of that, published on A List Part.

In other book news, Christopher Schmitt is working on a book around one of those rollout options: retrofitting. And there is a new Ethan Marcotte book as well: Responsive Design: Patterns & Principles.

A New Responsive Font Format for the Web

Nick Sherman gave a fascinating talk at Ampersand earlier this month which was based on an article he wrote called Variable Fonts for Responsive Design. In both the talk and the essay he suggests that we need a new font format to solve complex responsive design problems:

…the glyph shapes in modern fonts are restricted to a single, static configuration. Any variation in weight, width, stroke contrast, etc.—no matter how subtle—requires separate font files. This concept may not seem so bad in the realm of print design, where layouts are also static. On the web, though, this limitation is what I refer to as the “glass floor” of responsive typography: while higher-level typographic variables like margins, line spacing, and font size can adjust dynamically to each reader’s viewing environment, that flexibility disappears for lower-level variables that are defined within the font. Each glyph is like an ice cube floating in a sea of otherwise fluid design.


Scaled/Proportional Content with CSS and JavaScript

The web is a fluid place. Different sized screens, yadda yadda yadda. Fortunately for us, the web is ready for it. Text wraps. CSS gives us control over how to size things. What we don't get (easily, anyway) is a way to scale whole element (and it's children) proportionally—retaining its exact layout as it changes size.

We can do it though.


WPO stats  

WPO, as in, "Web Performance Optimizations", I believe.

Case studies and experiments demonstrating the impact of performance optimization on user experience and business metrics.

Real companies, real performance changes, real impact. Ya know, Little things like:

Staples reduced median homepage load time by 1 second and reduced load time for the 98th percentile by 6 seconds. As a result, they saw a 10% increase in their conversion rate.

Animate box-shadow with Silky Smooth Performance  

Neat trick by Tobias Ahlin:

How do you animate the box-shadow property in CSS without causing re-paints on every frame, and heavily impacting the performance of your page? Short answer: you don’t. Animating a change of box-shadow will hurt performance.

There’s an easy way of mimicking the same effect, however, with minimal re-paints, that should let your animations run at a solid 60 FPS: animate the opacity of a pseudo element.


Pretty bold step for WordPress. Totally new UI. Totally new technologies. No more PHP and MySQL, it's Node.js, React, Flux, Babel, Webpack... the fanciest of fancy modern tooling. Still completely open source.

Matt Mullenweg:

On one hand it seems risky. How much of WordPress' success is based on the epic backwards compatibility and ability to run on nearly any server? Will this ever become the self-hosted variant? At the moment, they are saying "Install JetPack and you can manage your self-install from" - but that doesn't feel like an answer. If we can never self-install, maybe the backwards compatibility doesn't matter? Can you keep developers interested in working on "the old thing" when the new shiny open source thing that powers the core business is right there?

On the other hand it seems to stifle risk. If you stay stuck in old tech, how long can you retain talent? How long until using it feels awkwardly antiquated?

This chart really drives home the before/after benefits.

#143: Using and Caching Third-Party JSON with WordPress

On the design of CSS-Tricks as I record this, one of the things I wanted to add was a "Front End Design & Development Jobs" widget, powered by the CodePen Job Board. Those jobs are available as JSON data.

Couldn't we just do an Ajax request for that and use it? Perhaps a little JavaScript Templating? Sure, we could. But Ajax requests are async. I'm picturing a little spinner on every page load, waiting for the data …

Watch Video →

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed