Search
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...
Why we at $FAMOUS_COMPANY Switched to $HYPED_TECHNOLOGY
29.5.2020
Too funny:
After careful consideration, we settled on rearchitecting our platform to use $FLASHY_LANGUAGE and $HYPED_TECHNOLOGY. Not only is $FLASHY_LANGUAGE popular according to the Stack Overflow developer survey, it’s also cross platform; we’re using it to reimplement our mobile apps as well....
The Many Facts Pointing to Adam Back Being Satoshi
28.5.2020
During the last year, news.Bitcoin.com created a series that shows the many facts that point to certain individuals who might just be Satoshi Nakamoto and it’s been a popular run so far. Our series has covered nearly everyone, but there are still a few individuals that haven’t been...
Bitcoin News Roundup for May 27, 2020
27.5.2020
While the yuan weakens against the U.S. dollar, Coinbase makes an acquisition to grow its institutional trading infrastructure. It's another episode of CoinDesk's the Markets Daily podcast
The Many Bad (and Good!) Patterns for Close Buttons
27.5.2020
Manuel Matuzović details 10 bad HTML patterns for a close button. You know, stuff like this:
<a class="close" onclick="close()"×</a
Why is that bad? There is no href there, so it really isn’t a link (close buttons aren’t links). Not to mention the missing href makes this...
Responsive web design turns ten.
27.5.2020
Ethan on the thinking and research that inspired the term:
Around that time, my partner Elizabeth visited the High Line in New York City shortly after it opened. When she got back, she told me about these wheeled lounge chairs she saw in one section, and how people would move them apart for a...
Responsive web design turns ten.
27.5.2020
Ethan on the thinking and research that inspired the term:
Around that time, my partner Elizabeth visited the High Line in New York City shortly after it opened. When she got back, she told me about these wheeled lounge chairs she saw in one section, and how people...
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”...
ErisX Releases API for Bulk Trading of Bitcoin, Ether
26.5.2020
ErisX has released a block trading API for futures contracts and spot market trades to help large traders
Sberbank to Roll out 5,000 Apple&Google Pay-compatible Blockchain ATMs
26.5.2020
Major banks in Russia are looking to do away with plastic card-powered personal finance – and are turning to blockchain to boost contactless transactions in the wake of the coronavirus pandemic. The banks are being led by blockchain-keen Sberbank, which has just bought around 5,000 contactless ATMs...