Search
Node isConnected
13.11.2020
Every so often I discover a property in JavaScript objects that I didn’t know existed, oftentimes using another trick to accomplish the same functionality. One such property I just learned about was isConnected, a node property that attached to a context (i.e. document). Here’s how...
Understanding flex-grow, flex-shrink, and flex-basis
11.11.2020
When you apply a CSS property to an element, there’s lots of things going on under the hood. For example, let’s say we have some HTML like this:
<div class="parent"<div class="child"Child</div<div class="child"Child</div<div class="child"Child</div</div
And...
Artist, gamer or property mogul? Follow the NFT road to find earnings
2.11.2020
From owning land to playing games and creating artworks, earning opportunities on NFT marketplaces continue to grow
The CSS Custom Property Toggle Trick
29.10.2020
Back in July 2020, I got an email from James0x57 (I always try to refer to people by their name, but I think I get the sense they prefer to go by screen name) that says:
The entire world of branching conditional logic and bulk feature toggling for custom CSS properties is possible and only exists...
More on content-visibility
28.10.2020
Back in August 2020, when the content-visiblity property in CSS trickled its way into Chrome browsers, Una Kravets and Vladimir Levin wrote about it and we covered it. The weirdest part is that to get the performance value out of it, you pair it with contain-intrinsic-size on these big chunks...
Creating CSS Shapes with Emoji
24.10.2020
CSS Shapes is a standard that lets us create geometric shapes over floated elements that cause the inline contents — usually text — around those elements to wrap along the specified shapes.
Such a shaped flow of text looks good in editorial designs or designs that work with text-heavy contents...
Animating Number Counters
9.10.2020
Number animation, as in, imagine a number changing from 1 to 2, then 2 to 3, then 3 to 4, etc. over a specified time. Like a counter, except controlled by the same kind of animation that we use for other design animation on the web. This could be useful when designing something like a dashboard,...
Craig Wright’s Summary Judgment Denied – Billion Dollar Bitcoin Lawsuit Heads to Trial
22.9.2020
On Monday afternoon, Judge Beth Bloom, from the District Court of Florida, denied Craig Wright’s summary judgment and the infamous billion-dollar bitcoin lawsuit will go to trial in January. The court published a 93-page decision on the matter, as Judge Bloom detailed that “a genuine...
Breaking virtual ground: Blockchain-secured land entices real estate investors
20.9.2020
Individual and corporate investors are devoting millions of dollars to acquiring virtual acreage — here is why
content-visibility: the new CSS property that boosts your rendering performance
14.9.2020
Una Kravets and Vladimir Levin:
[…] you can use another CSS property called content-visibility to apply the needed containment automatically. content-visibility ensures that you get the largest performance gains the browser can provide with minimal effort from you as...
How CSS Perspective Works
9.9.2020
As someone who loves creating CSS animations, one of the more powerful tools I use is perspective. While the perspective property is not capable of 3D effects all by itself (since basic shapes can’t have depth), you can use the transform property to move and rotate objects in a 3D space (with...
Binance buys virtual property in blockchain game The Sandbox
8.9.2020
Binance has acquired virtual real estate property on the leading blockchain gaming platform The Sandbox
Using @property for CSS Custom Properties
3.9.2020
Una Kravetz digs into how Chrome now allows you to declare CSS custom properties directly from CSS with more information than just a string.
So rather than something like this:
html {
--stop: 50%;
}
…can be declared with more details like this:
@property --stop {
syntax:...
Lysander Spooner: Natural Law – The Science of Justice
30.8.2020
The science of mine and thine – the science of justice – is the science of all human rights; of all a man’s rights of person and property; of all his rights to life, liberty, and the pursuit of happiness. Section I. It is the science which alone can tell any man what he...
PBoC Says Digital Yuan Tests Focus on Small Transactions After Rumored Property Sale
24.8.2020
The People's Bank of China has apparently played down rumors of a house sale settled with its in-the-works digital currency
Leading-Trim: The Future of Digital Typesetting
21.8.2020
leading-trim is a suggested new CSS property that lets us remove the extra spacing in every font so that we can more predictably style text. Ethan Wang has written about it — including how Microsoft has advocated for it — and that it’s now part of the Inline Layout Module Level 3 spec.
You’d use...
Match Emojis with Regular Expressions
19.8.2020
When experimenting with unicode property escapes, to identify accented letters in strings, it reminded me of a question I had a few years ago: what is the best way to identify and then replace emojis in a string? I first noticed this practice when using emojis in Facebook — sometimes Facebook...
Can you get valid CSS property values from the browser?
19.8.2020
I had someone write in with this very legit question. Lea just blogged about how you can get valid CSS properties themselves from the browser. That’s like this.
CodePen Embed Fallback
That gives you, for example, the fact that cursor is a thing. But then how do you know what valid values...
What Happens When Border Radii Overlap?
17.8.2020
I’d wager that most times we’re rounding box corners in CSS, we’re applying a uniform border-radius value across the border. It’s a nice touch of polish in many designs. But there are times when we might want different radii for different corners. Easy, right? That way the property takes four...
South Korea’s Largest Bank Unveils Bitcoin Custody Services
9.8.2020
KB Kookmin Bank (KB), the largest commercial bank in South Korea, has agreed on a deal with blockchain venture fund Hashed and crypto exchange Cumberland Korea to offer bitcoin custody services. In January, the government-owned bank filed its trademark application for digital assets custody with...