Search
Hamburger Menu with a Side of React Hooks and Styled Components
10.9.2019
We all know what a hamburger menu is, right? When the pattern started making its way into web designs, it was both mocked and applauded for its minimalism that allows main menus to be tucked off screen, particularly on mobile where every pixel of space counts.
CSS-Tricks is all about double...
“Off The Main Thread”
10.9.2019
JavaScript is what they call "single-threaded." As Brian Barbour puts it:
This means it has one call stack and one memory heap.
We all feel a symptom of that regularly in the form of performance jank and non-interactivity on elements or entire sites. If we give JavaScript lots of jobs and it gets...
Capital Controls in Argentina Demonstrate Dangers of Government-Controlled Money
5.9.2019
The current financial system, with governments and central banks controlling the flow of money, creates impediments for people’s economic freedom. Among them is the danger that the ruling class will try to hide its mismanagement of the country’s affairs by preventing people from voting...
Working with Attributes on DOM Elements
30.8.2019
The DOM is just a little weird about some things, and the way you deal with attributes is no exception. There are a number of ways to deal with the attributes on elements. By attributes, I mean things like the id in <div id="cool"></div>. Sometimes you need to set them. Sometimes...
Crypto Lending Platforms Prepare to Assail the Banking System
30.8.2019
The battle lines have been drawn and the troops assembled. On the one side stands the combined might of the banking cartels, centuries of deeply entrenched financial infrastructure supporting them. And on the other side stands a handful of crypto companies armed with little more than a passionate...
Creating a Maintainable Icon System with Sass
28.8.2019
One of my favorite ways of adding icons to a site is by including them as data URL background images to pseudo-elements (e.g. ::after) in my CSS. This technique offers several advantages:
They don't require any additional HTTP requests other than the CSS file.
Using the background-size property...
Reverse Lookups with JavaScript
28.8.2019
I’ve always loved exploring regular expressions because they’re one of those skills that’s never taught in school — you need to pick them up on the fly, messing up and fixing them along the way. Regex’s are incredibly powerful, and one power they have are referred...
Switzerland Approves Bitcoin Banks – But With Strict Conditions Attached
27.8.2019
One of the major problems for businesses in the cryptocurrency industry is finding a bank that agrees to work with them and connect them to the traditional fiat financial system. The financial regulator in Switzerland has just made this easier by licensing two companies to serve as tailored banks...
More Flexible Online Stores WooCommerce and Gutenberg Blocks
27.8.2019
Blocks have become an indispensable component for managing content in WordPress since the Gutenberg editor was officially released earlier this year. Not only does WordPress include some nifty blocks right out of the box, but we're starting to see plugin developers take advantage of them...
Smokescreens and Mirrors: How Does a Country Do an ICO? They Call It QE
22.8.2019
Financial regulators all around the world have been cracking down hard on ICOs for promising more than they can deliver. At the same time governments and central banks are pulling off far worse scams, such as QE, wiping out the savings of everyone that depends on them. To hide this fact they...
Indian Supreme Court Orders RBI to Answer Crypto Exchanges, New Date Set
21.8.2019
After hearing the arguments against the banking restriction by the Reserve Bank of India (RBI) in detail, the Indian supreme court directed the central bank to reply to the representations filed by crypto exchanges. Since the RBI has not adequately answered them, the court set a new date to resume...
Using rel=”preconnect” to establish network connections early and increase performance
20.8.2019
Milica Mihajlija:
Adding rel=preconnect to a <link> informs the browser that your page intends to establish a connection to another domain, and that you'd like the process to start as soon as possible. Resources will load more quickly because the setup process has already been completed...
Employees Can Also Own Stakes in Vision Fund 2 as SoftBank Decides to Lend Them $20 Billion For The Purpose
19.8.2019
As everyone knows, SoftBank is possibly the most influential entity in the world when it comes to investing large sums of money on promising startups all over the world. The company has invested billions in some of the most valuable in the world and it did so through its $100 billion investment...
The Most Important Aspect of Bitcoin Is the Separation of Money and State
19.8.2019
Many cryptocurrency supporters believe the technology allows for the separation of money and state in a manner that’s never been seen before. Governments inflict two forms of robbery against nonviolent citizens by forcing them to pay taxes while also stealing from them silently through...
Data URIs
18.8.2019
We’re all familiar with traditional URI protocols like https, http, ftp, and file, but data URIs have become a large part of our online strategy. We can use them to display images, the Mac camera and webcams, and more. But what if we simply want to use a data URI to convey basic data? Typing...
Draggin’ and Droppin’ in React
16.8.2019
The React ecosystem offers us a lot of libraries that all are focused on the interaction of drag and drop. We have react-dnd, react-beautiful-dnd, react-drag-n-drop and many more, but some of them require quite a lot of work to build even a simple drag and drop demo, and some do not provide...
Weekly Platform News: HTML Loading Attribute, the Main ARIA Specifications, and Moving from iFrame to Shadow DOM
15.8.2019
In this week's roundup of platform news, Chrome introduces a new attribute for loading, accessibility specifications for web developers, and the BBC moves visualizations to the Shadow DOM.
Chrome ships the loading attribute
The HTML loading attribute for lazy-loading images and iframes is...
Staggered CSS Transitions
14.8.2019
Let's say you wanted to move an element on :hover for a fun visual effect.
@media (hover: hover) {
.list--item {
transition: 0.1s;
transform: translateY(10px);
}
.list--item:hover,
.list--item:focus {
transform: translateY(0);
}
}
Cool cool. But what if you had several list...
RBI’s Power Over Crypto Challenged at Length in Indian Supreme Court Today
14.8.2019
The Indian supreme court resumed hearing the writ petitions against the banking restriction by the central bank, the Reserve Bank of India (RBI), on Wednesday. Many issues were discussed, ranging from the legality of the RBI action to the classification of crypto assets and how each country...
Big Banks Enabled Jeffrey Epstein’s Sex Trafficking Crimes
13.8.2019
Unlike the unfounded narrative that cryptocurrency enables crime, big banks are more than happy to serve unsavory clients if it is lucrative enough for them. The latest example of this is a report that Jeffrey Epstein was apparently using his bank accounts to fund sex trafficking and possibly other...