Cursorful

By Chris Coyier on

Just saw and played with Cursorful, a browser plugin for recording nice looking videos of using websites. The trend of videos that zoom and pan based on what you’re interacting with is pretty neat I think. As web builders, I feel like we’re constantly showing short videos of the sites, whether it’s to clients, customers, […]

Relative Colors

By Chris Coyier on

I love the idea of being able to take a color you already have in CSS, like currentColor, a custom property, or a color pulled from an attr(), and manipulate it. The big examples being darken, lighten, or apply opacity to it for different adjacent elements or states. We have a ton of “newly available” […]

What’s the difference between JavaScript engines and JavaScript runtimes?

By Chris Coyier on

I can imagine being asked at an interview: What’s the difference between JavaScript engines and JavaScript runtimes? Nicholas C. Zakas says: A JavaScript engine implements ECMAScript as defined by the ECMA-262 standard. ECMA-262 defines the core functionality of JavaScript without any affordances for input or output. A JavaScript runtime is an ECMAScript host that embeds […]

Creating a Keyboard Shortcut Hook in React

By Chris Coyier on

I enjoyed this very straightforward, well-presented, useful article on how to create a keyboard shortcut hook in React from Tania Rascia. It’s part basic implementation, part designing an API pattern that feels right, part dealing with React hook eccentricities, and part dealing with edge cases. In the end, a pretty readable 86 lines of code.