Search
Selectors Explained
2.3.2020
Have you ever found yourself either writing a CSS selector that winds up looking confusing as heck, or seen one while reading through someone's code? That happened to me the other day.
Here's what I wrote:
.site-footer__nav a:hover svg ellipse:first-child { }
At the end of it, I honestly couldn't...
LINE Targets US Residents With New Crypto Exchange
2.3.2020
The messaging app firm launched a new U.S.-based crypto exchange, Bitfront, last week, offering traders dollar-to-crypto trading pairs
Japan’s Line Replaces Singapore Crypto Exchange With New US Platform
28.2.2020
As of today, users are automatically redirected from Line’s Singapore exchange BitBox to the new BitFront platform
World’s Top Crypto Miners Race to Roll Out Top-of-Line Machines Ahead of Bitcoin Halving
27.2.2020
Bitcoin miner manufacturers Bitmain and MicroBT are racing to bring top-of-the-line machines to market ahead of bitcoin's halving event
Weaving a Line Through Text in CSS
26.2.2020
Earlier this year, I came across this demo by Florin Pop, which makes a line go either over or under the letters of a single line heading. I thought this was a cool idea, but there were a few little things about the implementation I felt I could simplify and improve at the same time.
First off,...
View Mac Calendar from Command Line
24.2.2020
As someone that loves using UI tools, I do pride myself in learning how to accomplish the same feats from command line. Don’t believe me? Check out my Command Line tutorials section — I guarantee you’ll learn quite a bit. Recently I learned that you can view basic calendars from...
Animate SVG Path Changes in CSS
20.2.2020
Every once in a while I'm motivated to attempt to draw some shapes with <path>, the all-powerful drawing syntax of SVG. I only understand a fragment of what it all can do, but I know enough to be dangerous. All the straight-line syntax commands (like L) are pretty straightforward and I find...
Footnote Characters
20.2.2020
They are special superset numbers that are sometimes perfect for footnotes. Here they are:
¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹
I generally prefer to superscript the number myself, like:
<pThis next word<sup1</suphas a footnote.</p
You'd probably add an anchor link around that as well to link to an...
Solving Sticky Hover States with @media (hover: hover)
18.2.2020
Mezo Istvan does a good job of covering the problem and a solution to it in a blog post on Medium¹.
If you tap on something that has a :hover state but you don't leave the page then, on a mobile device, there is a chance that :hover state "sticks." You'll see this with stuff like jump-links used...
Listen to your web pages
16.2.2020
A clever idea from Tom Hicks combining MutationObserver (which can "observe" changes to elements like when their attributes, text, or children change) and the Web Audio API for creating sounds. Plop this code into the console on a page where you'd like to listen to essentially any DOM change...
Toward Responsive Elements
12.2.2020
Hot news from Brian Kardell, regarding what we've been referring to as "container queries", the most hotly requested feature in CSS:
There does seem to be some general agreement on at least one part of what I am going to call instead "Responsive Design for Components" and that is that flipping...
The Hooks of React Router
12.2.2020
React Router 5 embraces the power of hooks and has introduced four different hooks to help with routing. You will find this article useful if you are looking for a quick primer on the new patterns of React Router. But before we look at hooks, we will start off with a new route rendering...
Custom Styling Form Inputs With Modern CSS Features
7.2.2020
It’s entirely possible to build custom checkboxes, radio buttons, and toggle switches these days, while staying semantic and accessible. We don’t even need a single line of JavaScript or extra HTML elements! It’s actually gotten easier lately than it has been in the past. Let’s take a look.
Here’s...
Paris Blockchain Week Summit Announces Its 2020 Speaker Lineup
7.2.2020
Disclaimer: The text below is a press release that was not written by Cryptonews.com.
________________
Following a Successful First Year, Global Conference to Feature Prominent Speakers in Politics, Technology, Business, and Finance, with support from Bruno Le Maire, French Minister for the Economy...
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...
The Controversial S2F Model Predicts Bitcoin Price Will Reach 100,000 USD Within 2 Years
4.2.2020
The current price of BTC is roughly in line with the popular stock-to-flow (S2F) system for technical analysis, and if the trend continues some speculate the price of the asset could reach $100,000 within the next two years. Though the S2F tool is still a controversial metric, and various groups...
Line’s Digital Currency Link to Be Available in Japan as Early as April 2020
3.2.2020
Launched in October 2018, Asian messaging giant Line’s Bitbox crypto exchange has made its link (LN) digital asset available to users worldwide, with the exception of notable locations like Japan and the U.S. Last Thursday the group announced it was preparing to launch the coin in...
Messaging Giant Line to Launch Link Token Trading for Japan in April
2.2.2020
Link, the proprietary token messaging app Line, will launch trading for Japan in April
Understanding Immutability in JavaScript
30.1.2020
If you haven’t worked with immutability in JavaScript before, you might find it easy to confuse it with assigning a variable to a new value, or reassignment. While it’s possible to reassign variables and values declared using let or var, you'll begin to run into issues when you try that with...
Facebook and Telegram Rival Line to Bring its Token to 82 Million Users
30.1.2020
Line, one of Asia’s biggest chat apps, is set to debut its own digital token in Japan on Bitmax, its own crypto exchange.
Per a number of Japanese media outlets, including Coin Post, the company made its announcement via its blockchain and cryptocurrency subsidiary LVC – and is aiming for a rollout...