(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.data-privacy-src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-1596564-1', 'auto'); ga('send', 'pageview');
Home » CSS

Two-Value Display Syntax (and Sometimes Three)

2019-11-09T03:06:20+01:00November 9th, 2019|Categories: News, Tutorials|Tags: |

You know the single-value syntax: .thing { display: block; }. The value "block" being a single value. There are lots of single values for display. For example, inline-flex, which is like flex in that it becomse a flex container, but behaves like an inline-level element rather than a block-level element. Somewhat intuitive, but much better [...]

Diana Smith’s Pure CSS Artwork “Lace”

2019-11-09T03:06:05+01:00November 9th, 2019|Categories: News, Tutorials|Tags: |

Diana is at it again with her absolutely unbelievable CSS paintings. This latest one is called Lace. Past paintings are Francine, Vignes, and Zigario. She wrote for us last year if you'd like a little insight into her thinking. Andy Baio looked at the painting in a variety of older and incompatible browsers, and the [...]

Working with Fusebox and React

2019-11-09T03:06:03+01:00November 9th, 2019|Categories: News, Tutorials|Tags: |

If you are searching for an alternative bundler to webpack, you might want to take a look at FuseBox. It builds on what webpack offers — code-splitting, hot module reloading, dynamic imports, etc. — but code-splitting in FuseBox requires zero configuration by default (although webpack will offer the same as of version 4.0). Instead, FuseBox [...]

Weekly Platform News: Web Apps in Galaxy Store, Tappable Stories, CSS Subgrid

2019-11-08T03:06:00+01:00November 8th, 2019|Categories: News, Tutorials|Tags: |

In this week's roundup: Firefox gains locksmith-like powers, Samsung's Galaxy Store starts supporting Progressive Web Apps, CSS Subgrid is shipping in Firefox 70, and a new study confirms that users prefer to tap into content rather than scroll through it. Let's get into the news. Securely generated passwords in Firefox Firefox now suggests a securely [...]

Location, Privilege and Performant Websites

2019-11-08T03:05:59+01:00November 8th, 2019|Categories: News, Tutorials|Tags: |

Here’s a wonderful reminder from Stephanie Stimac about web performance. She writes about a recent experience of moving to an area with an unreliable network and how this caused problems for her as she tried to figure out what was happening during a power blackout: Assuming all of your customers are living the same life, [...]

Query JSON documents in the Terminal with GROQ

2019-11-08T03:05:57+01:00November 8th, 2019|Categories: News, Tutorials|Tags: |

JSON documents are everywhere today, but they are rarely structured the way you want them to be. They often include too much data, have weirdly named fields, or place the data in unnecessary nested objects. Graph-Relational Object Queries (GROQ) is a query language (like SQL, but different) which is designed to work directly on JSON [...]

Optimizing Images for Users with Slow Network Speeds

2019-11-08T03:05:30+01:00November 8th, 2019|Categories: News, Tutorials|Tags: |

For every website, page load time is a critical factor that can make or break the business. Thanks to the better user experience that comes with a fast-loading webpage, those who focus on page load optimization enjoy better conversion rates, better SEO, better retention, and lower bounce rates. And this fact has been highlighted in [...]

Some Things You Oughta Know When Working with Viewport Units

2019-11-07T03:05:38+01:00November 7th, 2019|Categories: News, Tutorials|Tags: |

David Chanin has a quickie article summarizing a problem with setting an element's height to 100vh in mobile browsers and then also positioning something on the bottom of that. Summarized in this graphic: The trouble is that Chrome isn't taking the address bar (browser chrome) into account when it's revealed which cuts off the element [...]