Search
Wanna see a whiter white?
11.8.2021
Heck of a CSS trick here from Dongsung Kim.
There are hidden HDR videos playing at the corners of this page. When a HDR-capable browser encounters one, it switches to HDR mode. For some reason, CSS backdrop-filter + brightness >100%
…
The post Wanna see a whiter white? appeared first...
Static vs. Dynamic vs. Jamstack: Where’s The Line?
11.8.2021
You’ll often hear developers talking about “static” vs. “dynamic” sites, or you may have heard someone use the term Jamstack. What do these terms mean, and when does a “static” site become either a Jamstack or dynamic site? These …
The post Static vs. Dynamic vs. Jamstack:...
Responsible Markdown in Next.js
10.8.2021
Markdown truly is a great format. It’s close enough to plain text so that anyone can quickly learn it, and it’s structured enough that it can be parsed and eventually converted to you name it.
That being said: parsing, processing, …
The post Responsible Markdown in Next.js appeared first...
WooCommerce With Apple Pay and Google Pay
10.8.2021
(This is a sponsored post.)
Got a WooCommerce store? It behooves you to offer a variety of payment methods. Just anecdotally, I’m sure both you and me have been annoyed and even abandoned purchases when a merchant, online or …
The post WooCommerce With Apple Pay and Google Pay appeared...
Choice Words about the Upcoming Deprecation of JavaScript Dialogs
9.8.2021
It might be the very first thing a lot of people learn in JavaScript:
alert("Hello, World");
One day at CodePen, we woke up to a ton of customer support tickets about their Pens being broken, which ultimately boiled down to …
The post Choice Words about the Upcoming Deprecation of JavaScript...
Exploring the CSS Paint API: Image Fragmentation Effect
9.8.2021
In my previous article, I created a fragmentation effect using CSS mask and custom properties. It was a neat effect but it has one drawback: it uses a lot of CSS code (generated using Sass). This time I am …
The post Exploring the CSS Paint API: Image Fragmentation Effect appeared first...
SVG Gobbler
6.8.2021
Great little project from Ross Moody:
SVG Gobbler is a browser extension that finds the vector content on the page you’re viewing and gives you the option to download, optimize, copy, view the code, or export it as an image.
…
The post SVG Gobbler appeared first on CSS-Tricks....
New Nuxt Features past v2.10
6.8.2021
Nuxt offers an incredible developer experience, with a lot of performance and application setup best practices baked in. In recent releases, they’ve been working on taking this developer experience to the next level, with some newer features that speed up …
The post New Nuxt Features past...
Efficient Infinite Utility Helpers Using Inline CSS Custom Properties and calc()
6.8.2021
I recently wrote a very basic Sass loop that outputs several padding and margin utility classes. Nothing fancy, really, just a Sass map with 11 spacing values, looped over to create classes for both padding and margin on each side. …
The post Efficient Infinite Utility Helpers Using Inline...
Three Buggy React Code Examples and How to Fix Them
5.8.2021
There’s usually more than one way to code a thing in React. And while it’s possible to create the same thing different ways, there may be one or two approaches that technically work “better” than others. I actually run into …
The post Three Buggy React Code Examples and How to Fix Them...
How to Build a Full-Stack Mobile Application With Flutter, Fauna, and GraphQL
5.8.2021
(This is a sponsored post.)
Flutter is Google’s UI framework used to create flexible, expressive cross-platform mobile applications. It is one of the fastest-growing frameworks for mobile app development. On the other hand, Fauna is a transactional, developer-friendly serverless …
The...
The State Of Web Workers In 2021
5.8.2021
You gotta appreciate the tenacity of Surma. He’s been advocating for Web Workers as a path forward to better-feeling websites for a lot of years now. He’s at it again making sure we all understand the landscape:
[…] regardless
…
The post The State Of Web Workers In 2021...
Using CSS Shapes for Interesting User Controls and Navigation
4.8.2021
Straight across or down, that’s the proverbial order for user controls on a screen. Like a list of menu items. But what if we change that to a more fluid layout with bends, curves, and nooks? We can pull it …
The post Using CSS Shapes for Interesting User Controls and Navigation appeared...
Serverless Functions as Proxies
3.8.2021
The first time cloud functions / serverless functions clicked for me was when I saw and tried Auth0’s (now defunct) Webtask. It was a little CodePen-like IDE but you didn’t really see anything aside from code and logs. The …
The post Serverless Functions as Proxies appeared first...
A Deep Dive on Skipping to Content
3.8.2021
While most people browsing the web on a computer use a mouse, many rely on their keyboard instead. Theoretically, using a web page with the keyboard should not be a problem — press the TAB key to move the keyboard …
The post A Deep Dive on Skipping to Content appeared first on CSS-Tricks....
CSS Modules (The Native Ones)
2.8.2021
They are actually called “CSS Module Scripts” and are a native browser feature, as opposed to the popular open-source project that essentially does scoped styles by creating unique class name identifiers in both HTML and CSS.
Native CSS Modules are …
The post CSS Modules (The...
How to Code a Playable Synth Keyboard
2.8.2021
With a little knowledge of music theory, we can use regular HTML, CSS and JavaScript — without any libraries or audio samples — to create a simple digital instrument. Let’s put that into practice and explore one method for creating …
The post How to Code a Playable Synth Keyboard appeared...
A Shared ESLint Configuration
30.7.2021
Looks like it was almost 9 years ago when Airbnb first published their JavaScript Style Guide. 112k stars on GitHub later, it seems like the de facto preset for Babel / ES Lint. But it’s not the only company …
The post A Shared ESLint Configuration appeared first on CSS-Tricks. You...
Conjuring Generative Blobs With The CSS Paint API
30.7.2021
The CSS Paint API (part of the magical Houdini family) opens the door to an exciting new world of design in CSS. Using the Paint API, we can create custom shapes, intricate patterns, and beautiful animations — all with a …
The post Conjuring Generative Blobs With The CSS Paint API appeared...
So you want to self-publish books and courses on programming
29.7.2021
John Resig and I recently self-published our book on GraphQL. There are tons of how-tos for self-publishing a book, or even online classes, but very little in the way of why you would want to, or whether it’s even worth …
The post So you want to self-publish books and courses on programming...