Category Archives: Elsewhere

Mozilla Rebranding

Nice! Arrival – Mozilla Open Design →

Elsewhere , , Leave a comment

Conditions for CSS Calculations

In CSS we have feature queries (@supports) available to create if–else-like structs. What if we could extend our means of using conditions in CSS? Roman Komarov provides us with a clever technique – which involves using CSS Variables, calc(), and … Continue reading

Elsewhere , , Leave a comment

Free Book: Exploring ES2016 and ES2017

From the same author as Exploring ES6. Again available for free online, or available for purchase as an ebook. Exploring ES2016 and ES2017 →

Elsewhere , , Leave a comment

Free Book: Exploring ES6

An in-depth book on ECMAScript 6, for JavaScript programmers. Extensive book written by Axel Rauschmayer (whom you might know from, available for free online. It’s also possible to purchase as an ebook-version (.epub et al) of the book. Exploring … Continue reading

Elsewhere , , , 1 Comment

Using Object.assign() to quickly set multiple inline styles

Since an HTMLElement its CSSStyleDeclaration (viz. its style property) essentially is an Object, it’s perfectly possible to pass it as the target object into Object.assign() along with a few other objects. The result is that all keys from those extra … Continue reading

Elsewhere , , Leave a comment

Run a Terminal task list with listr

With listr one can define a set of tasks to run: const execa = require("execa"); const Listr = require("listr"); const tasks = new Listr([ { title: "Git", task: () => { return new Listr([ { title: "Checking git status", task: … Continue reading

Elsewhere , Leave a comment


Simple HTML5 drag-drop zone to drop files on. import React from ‘react’; import Dropzone from ‘react-dropzone’; export default class DropzoneDemo extends React.Component { onDrop(acceptedFiles, rejectedFiles) { console.log("Accepted files: ", acceptedFiles); console.log("Rejected files: ", rejectedFiles); } render() { return ( <Dropzone … Continue reading

Elsewhere , , , Leave a comment

Date/Time Input Types coming to Firefox

Date/Time Input Types are coming to Firefox, and I must say they look quite good too (as a reference: here’s how Chrome implemented this): The implementation also looks familiar, doesn’t it? 😉 The date/timepickers are currently locked behind a flag … Continue reading

Elsewhere , , Leave a comment


react-day-picker is a flexible date picker component for React. no external dependencies select days, ranges, whatever using CSS modifiers ready for localization, even with moment.js customizable style navigable via keyboard, ARIA support As with every other well-written React component you … Continue reading

Elsewhere , , , 1 Comment

Saving bandwidth through machine learning

When requesting a high-resolution image with the Android Google+ app, one no longer gets the full version sent over. Instead, one gets a low-resolution version which is then processed by RAISR: RAISR, which was introduced in November, uses machine learning … Continue reading

Elsewhere , , , 1 Comment