Search
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...
Data deep dive: what's the 'long tail' like for Steam games?
16.11.2020
We have survey results for you
DMEX: No-KYC Derivatives DEX With up To 100x Leverage
14.11.2020
DMEX is a decentralized anonymous margin trading exchange that doesn’t require KYC checks, simply generate a wallet inside the app and start trading. No KYC Because DMEX runs on a smart contract you do not need to register with your personal information. Simply generate a new wallet in-app...
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...
A Bitcoin Multisig Primer: How Does it Work & What You Need To Know
12.11.2020
Bitcoin (BTC) multisig wallets provide an added layer of security for large bitcoin holders as they require more than one person to sign a transaction.
In this article, we will explore what multisig BTC wallets are, how they work, and discuss their most pressing pros and cons.
Understanding...
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...
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...
A Spreadsheet Importer You’ll Enjoy Using
12.11.2020
A great developer tool takes a painful task that would normally be a developer’s entire job, and makes it a pleasure to do. As a personal example, I’ve needed to build an image uploading experience many times in the past. I’ve hand-coded them and experienced far too much pain doing that. Then...
My WordPress Comments Wishlist
12.11.2020
A built-in commenting system is one of the reasons people reach for WordPress (and often stay there long-term). While I do think having a comment system is compelling (and as big of a fan of building on WordPress as I am), I find the comments system on WordPress quite crusty. It needs some love!...
The Carbon Project Presale Opens to the Public
12.11.2020
PRESS RELEASE. Carbon is a social crypto hub, slated to launch in January. It will bring your day-to-day crypto experience into one awesome place, while rewarding you at the same time. Fully encrypted data that’s as decentralised as you want it to be. Carbon includes features such as...
Libraries for SVG Drawing Animations
11.11.2020
In 2013, Jake Archibald introduced this cool trick of animating an SVG path to look like it’s drawing itself. It’s 2020 now, and the trick is still popular. I’ve seen it on a lot of websites I’ve visited recently. I, too, feature an animated SVG loader on my website using one of the libraries I’ll...
Bitcoin burgernomics: This is how many Big Macs you can buy with 1 BTC
11.11.2020
How many Big Macs does 1 Bitcoin buy, and why is this important?
You're Not Alone: Ripple Exec Lost Thousands on ‘Worthless’ Tokens Too
11.11.2020
David Schwartz. Source: A video screenshot, Youtube/UNCHAIN Convention
Learn from your mistakes, goes the old adage.
And when it comes to crypto investment, it appears that there is no shortage of mistakes to be made – providing the rest of the world with plenty of opportunities to learn from other...
The Cleanest Trick for Autogrowing Textareas
11.11.2020
Earlier this year I wrote a bit about autogrowing textareas and inputs. The idea was to make a <textarea> more like a <div> so it expands in height as much as it needs to in order to contain the current value. It’s almost weird there isn’t a simple native solution...