Search
Using @property for CSS Custom Properties
3.9.2020
Una Kravetz digs into how Chrome now allows you to declare CSS custom properties directly from CSS with more information than just a string.
So rather than something like this:
html {
--stop: 50%;
}
…can be declared with more details like this:
@property --stop {
syntax:...
Year-End Gold and Bitcoin Price Predictions from Regular Everyday People
10.8.2020
Just recently, news.Bitcoin.com talked to a number of individuals and asked them to let us know what they think the price of bitcoin and gold will be by the year’s end. Rather than leveraging the typical predictions from experts, executives, and crypto luminaries, the post delves into...
JavaScript Fatigue
6.8.2020
From Nicholas Zakas’ newsletter, on how he avoids JavaScript fatigue:
 I don’t try to learn about every new thing that comes out. There’s a limited number of hours in the day and a limited amount of energy you can devote to any topic, so I choose not to learn about anything...
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...
Apple declined to implement 16 Web APIs in Safari due to privacy concerns
25.7.2020
Why? Fingerprinting. Rather than these APIs being used for what they are meant for, they end up being used for gross ad tech. As in, “hey, we don’t know exactly who you are, but wait, through a script we can tell your phone stopped being idle from 8:00 am to 8:13 am and were near...
In the Aftermath of Hack, Lawmakers Blame Twitter, Not Bitcoin
16.7.2020
Lawmakers are calling on Twitter to answer for a hack that shook the platform, focusing on cybersecurity rather than scapegoating cryptocurrencies
Introducing Headless WordPress with Gatsby Cloud (Live Preview, Incremental Builds, and more!)
13.7.2020
The Gatsby team shipped an update to its source plugin for WordPress, graduating it to a beta release. The new version brings a new set of features to Gatsby’s headless WordPress configuration, which brings together WPGraphQL and WPGatsby to power a Gatsby front-end that pulls in data from...
A Complete Guide to Dark Mode on the Web
1.7.2020
“Dark mode” is defined as a color scheme that uses light-colored text and other UI elements on a dark-colored background. Dark mode, dark theme, black mode, night mode… they all refer to and mean the same thing: a mostly-dark interface rather than a mostly-light interface.
The post A Complete...
Russia’s Economy Ministry Calls for ‘Controllable Market’ Rather Than Crypto Ban
10.6.2020
The ministry argued the draft ban would be harmful for Russia's economy and citizens, and called for a softer stance
Analyzing Notion app performance
8.6.2020
Here’s a fantastic case study where Ivan Akulov looks at the rather popular writing app Notion and how the team might improve the performance in a variety of ways; through code splitting, removing unused vendor code, module concatenation, and deferring JavaScript execution. Not so long ago, we made...
How to Make a Simple CMS With Cloudflare, GitHub Actions and Metalsmith
14.5.2020
Let’s build ourselves a CMS. But rather than build out a UI, we’re going to get that UI for free in the form of GitHub itself! We’ll be leveraging GitHub as the way to manage the content for our static site generator (it could be any static site generator). Here’s the gist of it: GitHub is going...
Bitcoin’s Third Halving Complete: Reward Cut Surprisingly Faster Than Previous Time Estimates
11.5.2020
The Bitcoin blockchain has experienced its third block reward halving on May 11, 2020, at approximately 3:21 p.m EST, even though quite a few countdown clocks estimated that the halving would occur on May 12. Bitcoin miners now get 6.25 BTC per block rather than the 12.5 BTC they acquired before...
Creating an Accessible Range Slider with CSS
7.5.2020
The accessibility trick is using <input type="range"> and wrestling it into shape with CSS rather than giving up and re-building it with divs or whatever and later forget about accessibility.
The most clever example uses an angled linear-gradient background making the input look like...
How to Create Custom WordPress Editor Blocks in 2020
6.5.2020
Peter Tasker on creating blocks right now:
It’s fairly straightforward these days to get set up with the WP CLI ‘scaffold’ command. This command will set up a WordPress theme or plugin with a ‘blocks’ folder that contains the PHP and base CSS and JavaScript required to create...
How to Fix ESLint Errors Upon Save in VS Code
6.5.2020
Two of the most prominent utilities in web development today are ESLint and Microsoft’s Visual Studio Code. I enjoy using both, and I love the integration between both tools, but warnings from ESLint inside Visual Studio Code aren’t fulfilling — I’d rather lint errors...
`lh` and `rlh` units
5.5.2020
There’s some new units I was totally unaware of from the Level 4 spec for CSS values! The lh unit is “equal to the computed value of line-height” and rlh is the same only of the root element (probably the <html> element) rather than the current element.
Why would that...
Enable Gatsby Incremental Builds on Netlify
1.5.2020
The concept of an “incremental build” is that, when using some kind of generator that builds all the files that make for a website, rather than rebuilding 100% of those files every single time, it only changes the files that need to be changed since the last build. Seems like...
Some Innocent Fun With HTML Video and Progress
30.4.2020
The idea came while watching a mandatory training video on bullying in the workplace. I can just hear High School Geoff LOL-ing about a wimp like me have to watch that thing.
But here we are.
The video UI was actually lovely, but it was the progress bar that really caught my attention – or rather...
New Stellar Foundation Member Would Rather Buidl Than Hodl
23.4.2020
One of the Stellar Development Foundation's recent hires said he is personally more concerned with industry growth than trading or holding individual assets
Constrained CSS grids without `max-width`
21.4.2020
Ain’t nothing wrong with max-width, but Ethan makes a point in the last sentence:
Rather than simply defaulting to max-width as a constraint, I can use the empty space around my design, and treat it as a layout tool.
If the space “around” your grid...