Search
Adding a Custom Welcome Guide to the WordPress Block Editor
15.6.2020
I am creating a WordPress plugin and there is a slight learning curve when it comes to using it. I’d like to give users a primer on how to use the plugin, but I want to avoid diverting users to documentation on the plugin’s website since that takes them out of the experience.
What would...
CUBE CSS
11.6.2020
A CSS methodology from Andy Bell:
The most important part of this methodology is the language itself: CSS. It’s key to note its existence in the name because some alternative approaches, such as BEM—which I have enjoyed for many years—can veer very far away from Cascading Style Sheets. I love CSS...
On Adding IDs to Headers
11.6.2020
Here’s a two-second review. If an element has an ID, you can link to it with natural browser behavior. It’s great if headings have them, because it’s often useful to link directly to a specific section of content.
<h3 id="step-2"Step 2</a
Should I be so inclined, I could...
Speculation Rife as User Pays a Second $2.6 Million Fee in Ether Transaction
11.6.2020
History repeated itself on Thursday, after the Ethereum blockchain processed another transfer with fees of $2.6 million – the second such unusual, record-fee transaction in 24 hours. A user sent 350 ether (ETH), worth about $86,400 and paid 10,668 ETH, or $2.6 million, in transaction fees....
Eidoo Burns 28 Million $EDO in Preparation for Governance Token Upgrade on June 18th
11.6.2020
Switzerland, 11th June 2020. Swiss-based crypto platform Eidoo has today burned almost one third (1/3rd) of the total supply of utility token $EDO as they prepare for its June 18th token upgrade, in collaboration with sister company Provable Things. In one of the largest-scale token burns in...
How to Reverse CSS Custom Counters
11.6.2020
I needed a numbered list of blog posts to be listed with the last/high first and going down from there. Like this:
5. Post Title
4. Post Title
3. Post Title
2. Post Title
1. Post Title
But the above is just text. I wanted to do this with a semantic <ol> element.
The easy way
This can...
A Number of Small Bitcoin Mining Farms Are Quitting as Older Mining Rigs Become Worthless
10.6.2020
Bitcoin mining has changed a great deal since the block reward halving on May 11, 2020, and the overall SHA256 hashrate has been between 100-120 exahash per second (EH/s) during the last 48 hours. Reports from China show that a number of small mining operations are struggling and older bitcoin...
Bitcoin Still Faces On-Chain Scaling Trouble Ahead, Decred Co-Founder Says
9.6.2020
Can Bitcoin's network handle mainstream adoption?
The Trickery it Takes to Create eBook-Like Text Columns
8.6.2020
There’s some interesting CSS trickery in Jason Pamental’s latest Web Fonts & Typography News. Jason wanted to bring swipeable columns to his digital book experience on mobile. Which brings up an interesting question right away… how do you set full-width columns that...
How to Get All Custom Properties on a Page in JavaScript
8.6.2020
We can use JavaScript to get the value of a CSS custom property. Robin wrote up a detailed explanation about this in Get a CSS Custom Property Value with JavaScript. To review, let’s say we’ve declared a single custom property on the HTML element:
html {
--color-accent: #00eb9b;
}
In JavaScript...
EOS Developer Block.one Prepares Voice For July Launch
8.6.2020
Block.One to Launch Social Media Platform Ahead of Schedule
8.6.2020
According to Voice CEO Salah Zalatimo, the platform has pivoted from an autumn launch date and will be available to readers on July 4
Ethereum Community Debates Raising the Block Size Limit, Once Again
4.6.2020
The Ethereum network has become highly congested since the end of April, leading some to entertain a gas limit or block size increase
Adding CSS to a Page via HTTP Headers
4.6.2020
Only Firefox supports it, but if you return a request with a header like this:
Header add Link "<style.css;rel=stylesheet;media=all"
…that will link to that stylesheet without you having to do it in the HTML. Louis Lazaris digs into it:
[…] the only thing I can think of that could...
Jumping Into Webmentions With NextJS (or Not)
3.6.2020
Webmention is a W3C recommendation last published on January 12, 2017. And what exactly is a Webmention? It’s described as…
[…] a simple way to notify any URL when you mention it on your site. From the receiver’s perspective, it’s a way to request notifications when other sites...
On fixed elements and backgrounds
3.6.2020
After just playing with apsect-ratio and being pleasantly surprised at how intuitive it is, here’s an example of CSS acting unintuitively:
If you have a fixed element on your page, which means it doesn’t move when you scroll, you might realise that it no longer acts fixed if you apply a...
Behind the Source: Cassie Evans
3.6.2020
I feel like the tech industry takes itself far too seriously sometimes. I get frustrated by all the posturing and gatekeeping – “You’re not a real developer unless you use x framework”, “CSS isn’t a real programming language”.
I think this kind of rhetoric often puts new developers off,...
Overlapping Header with CSS Grid
1.6.2020
Snook shows off a classic design with an oversized header up top, and a content area that is “pulled up” into that header area. My mind goes to the same place:
Historically, I’ve done this with negative margins. The header has a height that adds a bunch of padding to the bottom...
Global CSS options with custom properties
30.5.2020
With a preprocessor, like Sass, building a logical “do this or don’t” setting is fairly straightforward:
$option: false;
@mixin doThing {
@if $option {
do-thing: yep;
}
}
.el {
@include doThing;
}
Can we do that in native CSS with custom properties? Mark Otto shows...
Bitcoin Hashrate Bounces Back- 2x the Mining Pools, Farm Diversification, 100 Exahash
30.5.2020
Around 18 days ago, the Bitcoin protocol experienced it’s third block reward halving and the network saw a 33% hashrate loss. Since then, however, bitcoin miners have increased in both number and hashpower, as the network has seen a 15-20 exahash per second (EH/s) increase. Moreover, on...