Search
PureCSS Gaze
28.5.2020
Diana Smith with another mind-bending all HTML & CSS painting.
I love that these occupy a special place on the “Should I draw this in CSS?” curve. Things like simple shapes are definitely on the “yes” side of the curve. Then there’s a large valley where things...
The Many Bad (and Good!) Patterns for Close Buttons
27.5.2020
Manuel Matuzović details 10 bad HTML patterns for a close button. You know, stuff like this:
<a class="close" onclick="close()"×</a
Why is that bad? There is no href there, so it really isn’t a link (close buttons aren’t links). Not to mention the missing href makes this...
Get Programmatic Control of your Builds with Netlify Build Plugins
27.5.2020
Today at Jamstack_Conf, Netlify announced Build Plugins. What it does is allow you to have particular hooks for events within your build, like when the build starts or ends. What’s nice about them is that they’re just a plain ‘ol JavaScript object, so you can insert some logic...
Are You a Developer?
27.5.2020
“You’re not really a developer. Sooner or later people are going to realize you don’t know what you’re talking about. You’re just not good enough.” You’ve probably had thoughts like these at one point or another. You’ve never heard someone else tell you that you’re not a developer, but you’re still...
CSS Tips for New Devs
27.5.2020
Amber Wilson has some CSS Tips for New Devs, like:
It’s not a good idea to fix shortcomings in your HTML with CSS. Fix your HTML first!
And…
You can change CSS right in your browser’s DevTools (to open them, right-click the browser window and choose “inspect”...
Framer Web
26.5.2020
The prototyping app Framer just launched the web version of their design tool and it looks pretty darn neat. I particularly love the design of the marketing site that explains how to use Framer and what sets it apart from other design tools. They have a ton of examples that you can pop open...
Goldman Sachs Hosting Bitcoin Call as Institutional Interest in Cryptocurrency Surges
26.5.2020
As interest in cryptocurrency grows among institutional investors, global investment banks, like Goldman Sachs and JPMorgan Chase, are reexamining their views about bitcoin. Goldman Sachs is hosting a call for its clients to learn about the implications of current policies for bitcoin, gold,...
Block Links: The Search for a Perfect Solution
25.5.2020
I was reading this article by Chris where he talks about block links — you know, like wrapping an entire card element inside an anchor — being a bad idea. It’s bad accessibility because of how it affects screen readers. And it’s bad UX because it prevents simple user tasks, like selecting text.
But...
Hacker Attempts to Sell Data Allegedly Tied to Ledger, Trezor, Bnktothefuture Customers
24.5.2020
According to an online monitoring web portal called, Under the Breach, a hacker is purportedly trying to sell customer information that stems from companies like Keepkey, Trezor, Ledger, and even the investment platform Bnktothefuture. The hacker doesn’t seem to have any passwords, but...
Bitcoin Miners Will Use Derivatives Like Traditional Commodity Producers
23.5.2020
Miners need traditional financial products in order to hedge against the risk of increasing hash rate and difficulty
“The Modern Web”
22.5.2020
A couple of interesting articles making the rounds:
Tom MacWrite: Second-guessing the modern web
Rich Harris: In defense of the modern web
I like Tom’s assertion that React (which he’s using as a stand-in for JavaScript frameworks in general) has an ideal usage:
There is a sweet spot...
Institutional Investors Buying Up BTC Like Crazy After Halving
22.5.2020
Institutional investors brewing a perfect Bitcoin storm
Cardano is Working on a Microchip That Would Give Crypto a Cash-like Experience
22.5.2020
Cardano is working on a crypto-native microchip that would enable crypto transitions without the internet access, potentially delivering fiat-like experience to the hundreds of millions around the world
A “new direction” in the struggle against rightward scrolling
21.5.2020
You know those times you get a horizontal scrollbar when accidentally placing an element off the right edge of the browser window? It might be a menu that slides in or the like. Sometimes we to overflow-x: hidden; on the body to fix that, but that can sometimes wreck stuff like position:...
Flexbox-like “just put elements in a row” with CSS grid
21.5.2020
It occurred to me while we were talking about flexbox and gap that one reason we sometimes reach for flexbox is to chuck some boxes in a row and space them out a little.
My brain still reaches for flexbox in that situation, and with gap, it probably will continue to do so. It’s worth noting...
50 BTC Just Moved for First Time Since 2009 – But It Doesn’t Look Like Satoshi
20.5.2020
50 bitcoin held in an inactive wallet since 2009 were moved Wednesday, but there's little to support the belief that creator Satoshi Nakamoto mined those coins
Avoid Heavy Babel Transformations by (Sometimes) Not Writing Modern JavaScript
20.5.2020
It’s hard to imagine writing production-ready JavaScript without a tool like Babel. It’s been an undisputed game-changer in making modern code accessible to a wide range of users. With this challenge largely out of the way, there’s not much holding us back from really leaning into...
Radio Buttons Are Like Selects; Checkboxes Are Like Multiple Selects
20.5.2020
I was reading Anna Kaley’s “Listboxes vs. Dropdown Lists” post the other day. It’s a fairly straightforward comparison between different UI implementations of selecting options. There is lots of good advice there. Classics like that you should use radio buttons (single...
WordPress Block Transforms
20.5.2020
This has been the year of Gutenberg for us here at CSS-Tricks. In fact, that’s a goal we set at the end of last year. We’re much further along that I thought we’d be, authoring all new content in the block editor¹, enabling the block editor for all content now. That means when...
Bitcoin’s Halving Is Nothing Like Quantitative Tightening
19.5.2020
The halving could both increase the rate at which bitcoin’s price rises and bring forward the point at which it crashes, says our columnist