Search
Creating WebGL Effects with CurtainsJS
18.11.2020
This article focuses adding WebGL effects to <image> and <video> elements of an already “completed” web page. While there are a few helpful resources out there on this subject (like these two), I hope to help simplify this subject by distilling the process into a...
Upptime
18.11.2020
GitHub Actions are like free computers.
Well, there is pricing, but even free plans get 2,000 minutes a month. You write configuration files for what you want these computers to do. Those configuration files go into a repo, so typically they do things specific to that repo. I’m sure that...
How DeFi can improve the e-commerce sector
18.11.2020
DeFi and shopping may seem like an unlikely combination, but these protocols have the potential to unlock better deals for consumers and merchants alike
Measuring Core Web Vitals with Sentry
17.11.2020
Chris made a few notes about Core Web Vitals the other day, explaining why measuring these performance metrics are so gosh darn important:
I still think the Google-devised Core Web Vitals are smart. When I first got into caring about performance, it was all: reduce requests! cache things! Make...
Copyediting with Semantic HTML
17.11.2020
Tracking changes is a quintessential copyediting feature for comparing versions of content. While we’re used to tracking changes in a word processing document, we actually have HTML elements capable of that. There are a lot of elements that we can use for this process. The main ones we’ll look...
Jetpack Backup
17.11.2020
It’s no secret that CSS-Tricks is a WordPress site. And as such, we like to keep things WordPress-y, like enabling the block editor and creating some custom blocks. We also rely on Jetpack for a number of things, which if you haven’t tried, is definitely worth your time as it’s...
A Complete Guide to CSS Gradients
17.11.2020
Like how you can use the background-color property in CSS to declare a solid color background, you can use the background-image property not only to declare image files as backgrounds but gradients as well. Using CSS gradients is better for control and performance than using an actual image (of...
CSS Background Patterns
17.11.2020
Nice little tool from Jim Raptis: CSS Background Patterns. A bunch of easy-to-customize and copy-and-paste backgrounds that use hard stop CSS gradients to make classy patterns. Not quite as flexible as SVG backgrounds, but just as lightweight.
Like this:
CodePen Embed Fallback
Speaking of cool...
Logical layout enhancements with flow-relative shorthands
16.11.2020
Admission: I’ve never worked on a website that was in anything other than English. I have worked on websites that were translated by other teams, but I didn’t have much to do with it. I do, however, spend a lot of time thinking in terms of block-level and inline-level elements....
Mixing Colors in Pure CSS
16.11.2020
Red + Blue = Purple… right?
Is there some way to express that in CSS? Well, not easily. There is a proposal draft for a color-mix function and some degree of interest from Chrome, but it doesn’t seem right around the corner. It would be nice to have native CSS color mixing, as it would give...
MakerDAO Loans Can Be Gamed to Hold Out Funds From Liquidation, Startup Finds
16.11.2020
A loophole in MakerDAO’s collateralized debt market enables positions to be closed far more leniently than intended due to an oversight in the auction process
Travelers can now get US passports in as little as 4 weeks with Bitcoin
16.11.2020
“Offering travelers the ability to pay via Bitcoin feels like the right move at the right time.”
Can blockchain make a difference? Africa sees vast monetary potential
15.11.2020
As access to crypto spreads across Africa, blockchain could be crucial in improving cross-border payments and settlement systems
Not Every Country Can Shake The Magical Money Tree Amid Coronavirus Pandemic
15.11.2020
Shamel Azmeh, Lecturer in International Development, Global Development Institute, University of Manchester.
____
COVID continues to ravage societies around the world, and a key issue is how governments can afford to fight it. As economies are disrupted, governments are stepping in to increase...
Parsing Markdown into an Automated Table of Contents
13.11.2020
A table of contents is a list of links that allows you to quickly jump to specific sections of content on the same page. It benefits long-form content because it shows the user a handy overview of what content there is with a convenient way to get there.
This tutorial will show you how to parse...
SVGBOX
13.11.2020
I’ve been saying for years that a pretty good icon system is just dropping in icons with inline <svg> where you need them. This is simple to do, offers full design control, has (generally) good performance, and means you aren’t smurfing around with caching and browser support...
How to Work With WordPress Block Patterns
12.11.2020
Just a little post I wrote up over at The Events Calendar blog. The idea is that a set of blocks can be grouped together in WordPress, then registered in a register_block_pattern() function that makes the group available to use as a “block pattern” in any page or post.
Block patterns...
Paypal Opens Crypto Services to Millions of Eligible Account Holders in the US
12.11.2020
Payment processing giant Paypal announced on Thursday that “all eligible Paypal account holders in the U.S. can now buy, hold, and sell cryptocurrency directly with Paypal.” The news follows the company’s announcement to support crypto assets at the end of October. Paypal’s...
The ‘Undo Button’ Wallet Tool Gives Users the Ability to Reverse Ethereum Transactions
12.11.2020
On Thursday, November 12, 2020, the blockchain firm Kirobo launched a tool that allows users to reverse ethereum transactions. Similarly to the replace-by-fee (RBF) protocol leveraged by bitcoin users, ethereum transactions can be reversed as well with Kirobo’s “Undo Button”...
How Film School Helped Me Make Better User Experiences
12.11.2020
Recently, I finished a sixty-day sprint where I posted hand-coded zombie themed CSS animation every day. I learned a lot, but it also took me back to film school and reminded me of so many things I learned about storytelling, cinematography, and art.
Turns out that much of what I learned back then...