Search
@property
25.4.2020
The @property is totally new to me, but I see it’s headed to Chrome, so I suppose it’s good to know about!
There is a draft spec and an “intent to ship” document. The code from that document shows:
@property --my-property {
syntax: "<color";
initial-value: green;
...
Create a Responsive CSS Motion Path? Sure We Can!
15.4.2020
There was a discussion recently on the Animation at Work Slack: how could you make a CSS motion path responsive? What techniques would be work? This got me thinking.
A CSS motion path allows us to animate elements along custom user-defined paths. Those paths follow the same structure as SVG paths....
Market Update: Traders ‘Buck the Trend’ Pushing Crypto Market Cap Above $200 Billion
7.4.2020
Digital currency markets have been rising again as the entire market capitalization of all 5,000+ coins has jumped above the $200 billion mark. The increase in crypto trade volume and coin values has followed alongside the recovery traditional equity markets saw on Monday. On Tuesday, most of...
Market Update: Slew of Unknown Coins Has Seen Considerable Gains Since ‘Black Thursday’
27.3.2020
The top ten coins have done well but there’s a ton of unknown digital currencies moving up the ladder with great speed. In fact, a considerable number of cryptos have gained 50-1,520% in the last 30 days, since Black 'Thursday'
The post Market Update: Slew of Unknown Coins Has Seen Considerable...
A Complete Guide to calc() in CSS
17.3.2020
CSS has a special calc() function for doing basic math. Here's an example:
.main-content {
/* Subtract 80px from 100vh */
height: calc(100vh - 80px);
}
In this guide, let's cover just about everything there is to know about this very useful function.
calc() is for values
The only place you...
Adventures in CSS Semi-Transparency Land
9.3.2020
Recently, I was asked to make some tweaks to a landing page and, among the things I found in the code, there were two semitransparent overlays — both with the same RGB values for the background-color — on top of an image. Something like this:
<img src='myImage.jpg'/>
<div...
BTC’s Market Share Drops Consecutively for 14 Days – Dominance Ratio Slides to 60%
15.2.2020
Cryptocurrency markets have been climbing higher in value as coins like BTC have gained over 19% during the last 90 days. However, many other digital assets have seen much larger gains and BTC dominance has been sliding downwards consecutively for the last 14 days. Also Read: Craig Wright’s...
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...
Resizing Values in Steps in CSS
30.1.2020
There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only in steps of 10px. Maybe someday? I dunno. There would have to be some pretty clear use cases that something like background-repeat: space...
What does “revert” do in CSS?
28.1.2020
Miriam Suzanne has a Mozilla Developer video on the subject. The revert value is fairly new, supported in Firefox and Safari, but not yet in Chrome-world. We've already got a couple of related keywords that work on any property which are meant to help control inheritance and reset values....
Building Multi-Directional Layouts
23.1.2020
There are some new features in CSS that can assist us with building layouts for different directions and languages with ease. This article is about CSS logical properties and values (e.g. margin-inline-start).  These are a W3C working draft that still going under heavy editing, but have...
As We Hunger for Viability, Let’s Stay True to Our Values
17.12.2019
Sometimes we are so in fear of external attack that we risk morphing into something technically the same but fundamentally different
Design APIs: The Evolution of Design Systems
17.12.2019
A clever idea from Matthew Ström:
[...] design APIs don’t seem like a stretch of the imagination. An API-driven approach is the natural extension of the work currently being done on design systems, including tokens and standardization projects.
If you buy into the idea of design tokens, that...
How Facebook Avoids Ad Blockers
9.12.2019
Dylan Paulus:
Facebook actually hides 'dummy' DOM nodes between the 'Sponsored' text. These values are entirely random characters, with a random number of DOM nodes between them. Invisible characters. At this point our CSS ad blocker is completely broken. There is no way for us to possibly code...
The Power (and Fun) of Scope with CSS Custom Properties
27.11.2019
You’re probably already at least a little familiar with CSS variables. If not, here’s a two-second overview: they are really called custom properties, you set them in declaration blocks like --size: 1em and use them as values like font-size: var(--size);, they differ from preprocessor variables...
Two-Value Display Syntax (and Sometimes Three)
8.11.2019
You know the single-value syntax: .thing { display: block; }. The value "block" being a single value. There are lots of single values for display. For example, inline-flex, which is like flex in that it becomse a flex container, but behaves like an inline-level element rather than a block-level...
Do Crypto Payment Restrictions Undermine Blockchain’s Core Values?
22.9.2019
Experts weigh in on the positives and negatives to the control that exchanges, wallets and payment platforms have over users cryptocurrency holdings
Weekly Platform News: Emoji String Length, Issues with Rounded Buttons, Bundled Exchanges
19.9.2019
In this week's roundup, the string length of two emojis is not always equal, something to consider before making that rounded button, and we may have a new way to share web apps between devices, even when they are offline.
The JavaScript string length of emoji characters
A single rendered emoji...
Promises and Static Values
23.8.2019
Async can throw a real wrench into the cogs of our programming workflows, all despite the fact that async is the modern JavaScript pattern. While async/await helps, there’s sometimes confusion about the way to have a single function that returns a value whether it exists or needs a Promise...
Optional Chaining
29.7.2019
For all of the improvements that the JavaScript language has added over the past few years, like the spread operator, default argument values, and arrow functions, there are still a few features I’d love to see implemented. On such feature is optional chaining. Optional chaining allows...