Search
Native Image Lazy Loading in Chrome Is Way Too Eager
5.2.2020
Interesting research from Aaron Peters on <img loading="lazy" ... >:
On my 13 inch macbook, with Dock positioned on the left, the viewport height in Chrome is 786 pixels so images with loading="lazy" that are more than 4x the viewport down the page are eagerly fetched by Chrome...
CSS4 is a Bad Idea
5.2.2020
Louis Lazaris, reacting to the idea of CSS4:
The reason “CSS3” worked is because it was real. It was the successor to “CSS2.1”. Everything after CSS2.1 was considered to be under the umbrella of “CSS3”.
The gist is that CSS4 isn't real, so won't work, and we don't need it anyway. Perhaps...
Creating an Editable Webpage With Google Spreadsheets and Tabletop.js
5.2.2020
Please raise your hand if you’ve ever faced never-ending content revision requests from your clients. It’s not that the changes themselves are difficult, but wouldn't it be less complicated if clients could just make the revisions themselves? That would save everyone valuable time, and  allow...
Select an Element with a Non-Empty Attribute
5.2.2020
Short answer:
[data-foo]:not([data-foo=""] {
Longer answer (same conclusion, just an explanation on why we might need this):
Say you have an element that you style with a special data-attribute:
<div data-highlight="product"</div
You want to target that element and do special things when...
UK Crypto Startups to Pay Discounted £2,000 Fee for Registration, FCA Revises Application Charges
5.2.2020
Young and small cryptocurrency businesses will pay lower registration fees than big companies, the United Kingdom’s financial watchdog has decided after consultations with members of the industry. The revised fee scheme takes into account the firms’ income to determine the amount...
CSS4
4.2.2020
Tab Atkins in 2012:
There has never been a CSS4. There will never be a CSS4. CSS4 is not a thing that exists.
Rachel Andrew in 2016:
While referring to all new CSS as CSS3 worked for a short time, it doesn’t reflect the reality of where CSS is today. If you read something...
How To Create A Headless WordPress Site On The JAMstack
4.2.2020
Just this morning, Chris shared a streamlined way to get a static site up and running with Netlify. As it happens, Sarah and I also wrote up a little something that expands that idea where a static site can pull content from WordPress using the REST API.
Using Vue, Nuxt, axios and Netlify, it's...
PHP is A-OK for Templating
4.2.2020
PHP templating often gets a bad rap for facilitating subpar code — but that doesn't have to be the case. Let’s look at how PHP projects can enforce a basic Model, View, Controller (MVC) structure without depending on a purpose-built templating engine.
But first, a very brief PHP history lesson
The...
Overcomplicatin’
4.2.2020
There's some famous quote that goes something like...
When we're young, we make simple things because that's all we know. Then we learn how to make complex things so we make complex things. When we grow old, we learn to make simple things again.
Brad recently wrote about this abstractly in regard...
Possibly The Easiest Way to Run an SSG
4.2.2020
"Static Site Generator," that is. We'll get to that in a second.
Netlify is a sponsor of this site (thank you very much), and I see Zach Leatherman has gone to work over there now. Very cool. Zach is the creator of Eleventy, an SSG for Node. One thing of the many notable things about Eleventy...
Bitcoin.Com Releases Fastest Ever Wallet App, With Built-In Support for Bitcoin Cash-Powered Tokens
4.2.2020
Bitcoin.com has developed its fastest ever wallet app with an improved design and a new focus on user experience. The Bitcoin.com Wallet also now offers full support for SLP tokens, opening a whole new universe of digital assets for millions of users around the globe. Also Read: Bitcoin.com Wallet...
Government Think Tank Niti Aayog Identifies Key Blockchain Use Cases for India
4.2.2020
The policy think tank for the government of India, Niti Aayog, has published a strategy document identifying a number of key areas blockchain technology can significantly benefit the country. “By empowering citizens through features of transparency, decentralization and accountability...
5 Mining Operations Command More Than 50% of BTC’s Network Hashrate
3.2.2020
The cryptocurrency community has been discussing mining centralization after a report was published that disclosed five mining operations command more than 50% of the BTC hashrate. At the time of publication, between F2pool, Poolin, Btc.com, and Antpool, the pools are hashing more than 59% of...
The Three Types of Code
3.2.2020
Every time I start a new project, I organize the code I’m looking at into three types, or categories if you like. And I think these types can be applied to any codebase, any language, any technology or open source project. Whether I’m writing HTML or CSS or building a React component, thinking...
Freezing User-Agent Strings
3.2.2020
There's been news about Chrome freezing their User-Agent string (and all other major browsers are on board). That means they'll still have a User-Agent (UA) string (that comes across in headers and is available in JavaScript as navigator.userAgent. By freezing it, it will be less useful over time...
China Stocks Plummet Despite 1.2 Trillion Yuan Injection to Mitigate Effects of Epidemic
3.2.2020
China’s stock market plunged Monday under selling pressure accumulated during a prolonged holiday. Investors have been worried by the coronavirus outbreak that’s already taken the lives of more than 360 people. Beijing authorities have responded by pumping well over a trillion yuan into...
Coronavirus Outbreak Forces Chinese Crypto ASIC Manufacturers to Delay Orders
3.2.2020
Bitcoin mining rig deliveries from China are delayed due to the coronavirus according to a few Chinese manufacturers. Microbt and Ebang sent notices to customers via the firm’s Wechat channels. Sources say Bitmain and Innosilicon are delaying mining device shipments as well. Also read: How...
How to Create an Animated Countdown Timer With HTML, CSS and JavaScript
3.2.2020
Have you ever needed a countdown timer on a project? For something like that, it might be natural to reach for a plugin, but it’s actually a lot more straightforward to make one than you might think and only requires the trifecta of HTML, CSS and JavaScript. Let’s make one together!
This is what...
Get Moving (or not) with CSS Motion Path
3.2.2020
We just linked up the idea that offset-path can be cleverly used to set type on a path. Don't miss Michelle Barker's experimentation either, with drawing paths or animating text along a path.
Dan Wilson has also been following this tech for quite a while and points out why the sudden surge...
Bitcoin Verde’s New Project Aims to Promote Bitcoin Cash Node Diversity
3.2.2020
Software developer Joshua Green announced Friday via the read.cash blog that the Bitcoin Verde team is launching a project to increase mining diversity. Green believes all the Bitcoin Cash implementations should “strive to be viable mining alternatives” and he’s encouraging full...