Search
Buy 1 Year of EA Play for $24 and Weave It Into 4 Months of Xbox Game Pass Ultimate Like a Modern Rumpelstiltskin
14.1.2021
12 Month EA Play Subscription | $24 | Eneba | Use code 4MONTHSOFULTIMATERead more
Dynamic, Conditional Imports
13.1.2021
With ES Modules, you can natively import other JavaScript. Like confetti, duh:
import confetti from 'https://cdn.skypack.dev/canvas-confetti';
confetti();
That import statement is just gonna run. There is a pattern to do it conditionally though. It’s like this:
(async ()
…
The post...
Fading in a Page on Load with CSS & JavaScript
13.1.2021
Louis Lazaris demonstrates a very simple way of doing this.
Hide the body (with JavaScript) right away with opacity: 0
Wait for all the JavaScript to execute
Unhide the body by transitioning it back to opacity: 1
Like this:
CodePen…
The post Fading in a Page on Load with CSS &...
Two Issues Styling the Details Element and How to Solve Them
13.1.2021
In the not-too-distant past, even basic accordion-like interactions required JavaScript event listeners or some CSS… trickery. And, depending on the solution used, editing the underlying HTML could get complicated.
Now, the <details> and <summary> elements (which combine to form...
First Mover: Don’t Like $34K Bitcoin? Stellar, Litecoin Yet to Conquer Old Highs
13.1.2021
Though bitcoin's rally has lost some steam, many traders are still in a bullish mood – and shifting to alternative cryptocurrencies known as "altcoins" whose prices have yet to clear all-time highs from years past.
Mark Cuban: Crypto ‘Exactly’ Like Dot-Com Bubble — Expects Bitcoin to Survive Bubble Burst, Thrive Like Amazon
13.1.2021
Billionaire Shark Tank investor Mark Cuban sees cryptocurrency “exactly” like the dot-com bubble. He says bitcoin and a few other cryptocurrencies are analogous to those dot-com stocks, like Amazon and Ebay, that survived the bubble burst and thrived. Mark Cuban Likens Crypto to Dot-Com...
Kim Dotcom Discusses the Swelling Crypto Economy and His Plans to ‘Accelerate P2P Electronic Cash’
13.1.2021
This week, news.Bitcoin.com chatted with Kim Dotcom, the founder of the now-defunct file hosting service Megaupload and the creator of the content monetization application called K.im. The Internet entrepreneur Dotcom is a big believer when it comes to the crypto economy and during...
Fixing Smooth Scrolling with Find-on-Page
13.1.2021
Back when we released the v17 design (we’re on v18 now) of this site. I added html { scroll-behavior: smooth; } to the CSS. Right away, I got comments like this (just one example):
… when you control+f or
…
The post Fixing Smooth Scrolling with Find-on-Page appeared first...
Traders Complain About Exchange Issues and Downtime During Bitcoin’s Volatile Price Swings
12.1.2021
As bitcoin and a number of digital assets saw deep losses on Monday, a few crypto-asset exchanges had difficulties. Traders have been complaining about issues with exchanges like Coinbase, Kraken, and other trading platforms during the volatile price swings. Bitcoin (BTC) and many other...
Careful When Changing the Display of `summary`
12.1.2021
I got a very helpful bug report the other day (thanks Kilian!) about the <details> element in a blog post of mine not showing the default ▶ icon, and thus looking rather like any ol’ random <p>.
It …
The post Careful When Changing the Display of `summary`...
Mark Cuban says crypto is ‘exactly like the internet stock bubble’
11.1.2021
But the statement wasn’t without a few bullish predictions for Bitcoin and Ethereum
Animating with Lottie
11.1.2021
I believe animation on the web is not only fun, but engaging in such a way that it has converted site visitors into customers. Think of the “Like” button on Twitter. When you “like” a tweet, tiny colorful bubbles …
The post Animating with Lottie appeared first on CSS-Tricks.
You can support...
CSS Snapshot 2020
11.1.2021
I think it’s great that the CSS Working Group does these. It’s like planting a flag in the ground saying this is what CSS looks like at this specific point in time. They do specifically say it’s not for …
The post CSS Snapshot 2020 appeared first on CSS-Tricks.
You...
navigator.clipboard API
11.1.2021
Interacting with a user’s host clipboard is something web developers have wanted for both good and evil purposes. On the good side, it’s nice to allow users to easily copy text like wallet addresses or branch names; for evil, copying malicious text that the user may mistakenly paste...
While Bitcoin’s Price Dips in Value, Crypto Assets Like Ethereum and Bitcoin Cash Shine
10.1.2021
The price of bitcoin has dropped on Sunday losing more than 6% during the last 24 hours, but a myriad of other coins have seen significant gains in contrast. Cryptocurrencies like bitcoin cash, ethereum, and monero have all jumped in value while bitcoin has seen a decent drop. Bitcoin (BTC) dropped...
Painters Tape and Fault Tolerance
9.1.2021
Snipping the top bit of Nicholas C. Zakas’s Top of the Month newsletter (go sign up!), with permission.
One of my favorite things in the world is painters tape (also called masking tape). It seems like something silly: some tape …
The post Painters Tape and Fault Tolerance appeared...
`aspect-ratio` is going to deprecate FitVids
8.1.2021
Jen was just tweetin’ about how the latest Safari Technical Preview has aspect-ratio. Looks like Chrome and Firefox both have it behind a flag, so with Safari joining the party, we’ll all have it soon.
I played with it …
The post `aspect-ratio` is going to deprecate FitVids...
Six-Digit Bitcoin Prices: Stock-to-Flow Creator Says BTC Value Model ‘On Track Like Clockwork’
8.1.2021
Bitcoin prices have gone parabolic and the value is seemingly following along with the controversial stock-to-flow (S2F) model, according to the price model’s creator. This week, the Twitter handle dubbed “Plan B” said the “bitcoin stock-to-flow model [is] on track…...
It's Almost Like Akira Predicted Covid-19's Impact On The Olympics
8.1.2021
Akira certainly did predict the 2020 Tokyo Olympics. The manga, created by Katsuhiko Otomo (above), and ensuing anime are set against the backdrop of the impending 2020 Tokyo Olympics. It also appears that one panel in the manga refers to measures for combating a contagious disease.Read more
The EURST Stablecoin Set the Path That Major Central Banks Now Want to Follow
8.1.2021
From Asia to Europe, major central banks all around the world are expected to announce their own digital currencies soon. This is vindication that stablecoins like EURST are on the right path forward, and they can serve to show how national economies should reinvent themselves following the current...