Search
Getting Started With the File System Access API
14.2.2022
The File System Access API is a web API that allows read and write access to a user’s local files. It unlocks new capabilities to build powerful web applications, such as text editors or IDEs, image editing tools, improved …
Getting Started With the File System Access API originally...
Your CSS reset needs text-size-adjust (probably)
12.2.2022
Kilian Valkhof:
[…] Mobile Safari increases the default font-size when you switch a website from portrait to landscape. On phones that is, it doesn’t do it on iPad. Safari has been doing this for a long time, as a
…
Your CSS reset needs text-size-adjust (probably) originally...
9 New React and JavaScript Links for February 2022
12.2.2022
Every now and then, I find that I’ve accumulated a bunch of links about various things I find interesting. Like React and JavaScript! Here’s a list of nine links to other articles about them that I’ve been saving up and …
9 New React and JavaScript Links for February 2022 originally...
Multi-Value CSS Properties With Optional Custom Property Values
11.2.2022
Imagine you have an element with a multi-value CSS property, such as transform: optional custom property values:
.el {
transform: translate(100px) scale(1.5) skew(5deg);
}
Now imagine you don’t always want all the transform values to be applied, so some …
Multi-Value CSS Properties With...
A Whistle-Stop Tour of 4 New CSS Color Features
11.2.2022
I was just writing in my “What’s new in since CSS3?” article about recent and possible future changes to CSS colors. It’s weirdly a lot. There are just as many or more new and upcoming ways to define colors than …
A Whistle-Stop Tour of 4 New CSS Color Features...
Developers Speculating About the Long-Distant Future: 2022
10.2.2022
This is a wonderful roundup from Jeremy, who I picture circling January 1, 2022, in red marker on a giant paper calendar back in 2008 and patiently counting the days.
See, there was a little smattering of internet drama …
Developers Speculating About the Long-Distant Future: 2022 originally...
Helpful Tips for Starting a Next.js Chrome Extension
10.2.2022
I recently rewrote one of my projects — Minimal Theme for Twitter — as a Next.js Chrome extension because I wanted to use React for the pop-up. Using React would allow me to clearly separate my extension’s pop-up component and …
Helpful Tips for Starting a Next.js Chrome Extension originally...
A Chrome Extension for Cloudinary That Helps You Pluck Out Useful Media URLs From Your Library Quickly
10.2.2022
(This is a sponsored post.)
Cloudinary is a host for your digital assets like images and video. If you don’t already know them, you should, because you can build it into the asset management you almost certainly need to …
A Chrome Extension for Cloudinary That Helps You Pluck...
SVGcode for “Live Tracing” Raster Images
9.2.2022
Say you have a bitmap graphic — like a JPG, PNG, or GIF — and you wish it was vector, like SVG. What do you do? You could trace it yourself in some kind of design software. Or tools within …
SVGcode for “Live Tracing” Raster Images originally published on CSS-Tricks. You should...
How to Make CSS Slanted Containers
9.2.2022
I was updating my portfolio and wanted to use the forward slash (/) as a visual element for the site’s main layout. I hadn’t attempted to create a slanted container in CSS before, but it seemed like it …
How to Make CSS Slanted Containers originally published on CSS-Tricks. You should...
No Motion Isn’t Always prefers-reduced-motion
8.2.2022
There is a code snippet that I see all the time when the media query prefers-reduced-motion is talked about. Here it is:
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms...
Replace JavaScript Dialogs With the New HTML Dialog Element
8.2.2022
You know how there are JavaScript dialogs for alerting, confirming, and prompting user actions? Say you want to replace JavaScript dialogs with the new HTML dialog element.
Let me explain.
I recently worked on a project with a lot of …
Replace JavaScript Dialogs With the New HTML Dialog...
Netlify Has Scheduled Functions
8.2.2022
(This is a sponsored post.)
Hey! Scheduled Functions are cool! Think of them like a CRON job. I want this code to run every Monday at 2pm. I want this code run every hour on the hour. That kind …
Netlify Has Scheduled Functions originally published on CSS-Tricks. You should get...
Using Different Color Spaces for Non-Boring Gradients
7.2.2022
A little gradient generator tool from Tom Quinonero. You’d think fading one color to another would be an obvious, simple, solved problem — it’s actually anything but!
Tom’s generator does two things that help make a gradient better:
You
…
Using Different Color Spaces...
CSS Scroll Snap Slide Deck That Supports Live Coding
7.2.2022
Virtual conferences have changed the game in terms of how a presenter is able to deliver content to an audience. At a live event it’s likely you just have your laptop, but at home, you may have multiple monitors so …
CSS Scroll Snap Slide Deck That Supports Live Coding originally published...
A Deep Introduction to WordPress Block Themes
4.2.2022
The relatively new WordPress editor, also known as the WordPress Block Editor, always under development via the Gutenberg plugin, has been with us since 2018. You can use the block editor on any WordPress theme, provided the theme …
A Deep Introduction to WordPress Block Themes originally...
Building a newbie-friendly codebase
3.2.2022
Pedro Santos suggests:
Using naming conventions such that you can learn them once and apply them everywhere
Unidirectional data flows. Make it easy to follow the app flow.
No magic numbers. I’d add they are even worse in CSS
…
Building a newbie-friendly codebase originally published...
The Making of Atomic CSS: An Interview With Thierry Koblentz
3.2.2022
I interviewed Thierry Koblentz, creator of Atomic CSS, to understand the history and background that led to making of the popular CSS framework. Thierry, now retired, has vast experience writing CSS at large scale and has previously worked …
The Making of Atomic CSS: An Interview With...
Building a Scrollable and Draggable Timeline with GSAP
2.2.2022
Here’s a super classy demo from Michelle Barker over on Codrops that shows how to build a scrollable and draggable timeline with GSAP. It’s an interesting challenge to have two different interactions (vertical scrolling and horizontal dragging) be tied together …
Building...
User Registration and Auth Using Firebase and React
2.2.2022
The ability to identify users is vital for maintaining the security of any applications. Equally important is the code that’s written to manage user identities, particularly when it comes to avoiding loopholes for unauthorized access to data held by an …
User Registration and Auth Using...