Search
Bitcoin and Gold Correlation Reaches Record High 70%, Bolstering BTC’s Store of Value Credentials
12.8.2020
The prices of bitcoin and gold have reached a monthly average correlation of 70%, an all-time-high, according to data analytics firm Skew. The previous peak of just under 60% was reached earlier on in the second quarter of 2020. Skew said the rising correlation supports the idea that bitcoin (BTC)...
Viabtc Founder Reveals BCH Fork Idea Called Bitcoin Cat
9.8.2020
During the last few days, discussions concerning the Bitcoin Cash Difficulty Adjustment Algorithm (DAA) has become a polarizing debate. In the midst of all the quarreling, Viabtc’s founder Haipo Yang has announced a new fork of BCH called Bitcoin Cat. News.Bitcoin.com recently reported on...
The Cicada Principle, revisited with CSS variables
5.8.2020
Lea Verou digging up the CSS trickery classic and applying it to clip the backgrounds of some code blocks:
The main idea is simple: You write your main rule using CSS variables, and then use :nth-of-*() rules to set these variables to something different every N items. If you use enough...
Friction Logs
4.8.2020
I first heard the term “Friction Log” from Suz Hinton back in April on ShopTalk. The idea makes an extreme amount of sense: Use a thing, and write down moments where you felt friction.
Did some installation step bug out? Did you see something that the docs didn’t mention? Did...
A Look at What’s New in Chrome DevTools in 2020
31.7.2020
I’m excited to share some of the newer features in Chrome DevTools with you. There’s a brief introduction below, and then we’ll cover many of the new DevTools features. We’ll also look at what’s happening in some other browsers. I keep up with this stuff, as I create Dev Tips, the largest...
Want to get better at code? Teach someone CSS.
28.7.2020
A friend of mine recently asked me to teach her to code. She was an absolute beginner, having no idea what coding really involves. I decided to start where I started: HTML and CSS. Using CodePen, we started forking Pens and altering them. Soon, a learning path started to unravel.
The aim of this...
Binance Buying a Traditional Bank Is Not a New Idea, CZ Says
22.7.2020
Binance CEO CZ says that having their own bank would unlock one more channel for interacting with global regulators
Pausing a GIF with details/summary
22.7.2020
Steve Faulkner has a clever idea here. You can show an (animated) GIF and overlay a pause/play button on top of it — which is really a <details>/<summary> element. When toggled, a (non-animated) JPG inside covers the GIF, effectively “pausing” it.
Adrian Roselli calls...
marketstack: A Market Data API
21.7.2020
(This is a sponsored post.)
I like the apilayer company tagline: “Automate What Should Be Automated.” They have this thick suite of products that are all APIs with clear documentation. They all have usable free tiers to develop against and prove out an idea, and then paid plans if...
Irregular-shaped Links with Subgrid
16.7.2020
Michelle Barker covers a situation where you need offset rectangles part of a clickable area. The tricky part is having just the rectangles be clickable. That rules out using some parent element and making the whole larger encompassing rectangle clickable, which is a common (but equally tricky)...
Open Prioritization
14.7.2020
Like Kickstarter, but for Web Platform Features.
That’s about the quickest way to sum up Open Prioritization from Igalia. Igalia is an independent company that works on browsers. They literally commit to all the different open source browsers to implement (and fix) features that we all use....
How-to guide for creating edge-to-edge color bars that work with a grid
1.7.2020
Hard-stop gradients are one of my favorite CSS tricks. Here, Marcel Moreau combines that idea with CSS grid to solve an issue that’s otherwise a pain in the butt. Say you have like a 300px right sidebar on a desktop layout with a unique background color. Easy enough. But then say you want...
Senate Banking Committee Remains Open to Idea of Digital Dollar in Tuesday’s Hearing
1.7.2020
While not every lawmaker was on board with the idea of a central bank digital currency during a Senate Banking Committee hearing Tuesday, no one explicitly rejected it either
Global and Component Style Settings with CSS Variables
1.7.2020
The title of this Sara Soueidan article speaks to me. I’m a big fan of the idea that some CSS is best applied globally, and some CSS is best applied scoped to a component. I’m less interested in how that is done and more interested in just seeing that conceptual approach used in some...
Book: The Greatest CSS Tricks Vol. I
29.6.2020
Ya know, for a site called “CSS-Tricks” that I’ve run for well over a decade, it’s a little funny we’ve never done a book under that name. I’ve written a book about WordPress and SVG, but never CSS!
Well, allow me to change that. I’ve been working on...
The Return of the 90s Web
26.6.2020
One of my forever-lessons here on CSS-Tricks is that having your own website and blogging on it is a good idea. It’s probably one of the best decisions I’ve ever made, as it’s been a direct source of fun, career development and, eventually, income.
I always chuckle at little...
The Analytics That Matter
25.6.2020
I’ve long been skeptical of quoting global browser usage percentages to justify their usage of browser features. It doesn’t matter what global usage of a browser is, other than nerdy cocktail party fodder. The usage that matters is what users on your site are using, and that can...
Demand for Charter Cities During Covid-19 Pandemic Grows Exponential – People Desire Semi-Autonomous Zones
17.6.2020
For quite some time now, a number of libertarians, bitcoin evangelists, and blockchain entrepreneurs have been promoting the idea of charter cities and seasteading concepts. One such project, Pronomos Capital, has raised $9 million from heavyweight investors like venture capitalist Peter Thiel....
Creative Background Patterns Using Gradients, CSS Shapes, and Even Emojis
10.6.2020
You can create stripes in CSS. That’s all I thought about in terms of CSS background patterns for a long time. There’s nothing wrong with stripes; stripes are cool. They can be customized into wide and narrow bands, criss-crossed into a checked pattern, and played with in other ways using the idea...
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”...