Search
Central Bank of Ireland Governor Talks Crypto, Praises ‘Secure, Decentralized’ Technology
31.7.2021
Gabriel Makhlouf, the governor of the Central Bank of Ireland (CBI), has published a blog post in which he shares his views on the digitalization of finance. While echoing concerns expressed by his counterparts regarding cryptocurrencies, the official has also highlighted some of their positives....
Layout with Reveal Animations and Content Preview
28.7.2021
Some experimental reveal animations on typographic elements as repeating pattern for a website design.
The post Layout with Reveal Animations and Content Preview appeared first on Codrops
:nth-child Between Two Fixed Indexes
29.6.2021
I needed to select some elements between two fixed indexes the other day — like literally the second through fifth elements. Ironically, I have a whole post on “Useful :nth-child Recipes” but this wasn’t one of them.
The answer, it …
The post :nth-child Between Two Fixed...
Using Custom Elements in Svelte
22.6.2021
Svelte fully supports custom elements (e.g. <my-component>) without any custom configuration or wrapper components and has a perfect score on Custom Elements Everywhere. However, there are still a few quirks you need to watch out for, especially around …
The post Using Custom...
Always Show Arrows for Number Input
21.6.2021
While I enjoy small details that make user interfaces more elegant, I also believe that less is more, especially when it comes to native behavior. One native behavior I dislike is that <input type="number" /> elements only show the increment and decrement arrows when the input is focused....
Star Wars: The Bad Batch Has A Great Fallen Order Moment
14.6.2021
Disney, the ultimate experts in brand tie-ins, did something very specific last Friday that stood out to anyone who has played Respawn’s terrific Star Wars Jedi: Fallen Order game. To go along with the announcement that Fallen Order will get an upgrade for the PS5 and Xbox Series X, Star Wars:...
Adding Shadows to SVG Icons With CSS and SVG Filters
11.6.2021
Why would we need to apply shadows to SVG?
Shadows are a common design feature that can help elements, like icons, stand out. They could be persistent, or applied in different states (e.g. :hover, :focus, or :active)
…
The post Adding Shadows to SVG Icons With CSS and SVG Filters appeared...
Put a Background on Open Details Elements
11.6.2021
One thing that can be just a smidge funky about the <details> element is that, when open, it’s not always 100% clear what is inside that element and what isn’t. I’m not saying that always matters or that it’s a …
The post Put a Background on Open Details...
Serverless Functions: The Secret to Ultra-Productive Front-End Teams
31.5.2021
Modern apps place high demands on front-end developers. Web apps require complex functionality, and the lion’s share of that work is falling to front-end devs:
building modern, accessible user interfaces
creating interactive elements and complex animations
managing complex application...
Biden Economics: US Jobs Report Lackluster, Unemployment Extensions Hammer Supply Chain, Americans Want More Stimulus
11.5.2021
Recent headlines in numerous publications claim the U.S. economy is set for rapid expansion and a “post Covid boom” thanks to Joe Biden’s economic plans. However, contradicting reports identify certain struggling elements, such as the supply chain, which have been ravaged...
Next Gen CSS: @container
11.5.2021
Chrome is experimenting with @container, a property within the CSS Working Group Containment Level 3 spec being championed by Miriam Suzanne of Oddbird, and a group of engineers across the web platform. @container brings us the ability to …
The post Next Gen CSS: @container appeared first...
Custom State Pseudo-Classes in Chrome
6.5.2021
There is an increasing number of “custom” features on the web platform. We have custom properties (--my-property), custom elements (<my-element>), and custom events (new CustomEvent('myEvent')). At one point, we might even get custom media …
The post Custom State Pseudo-Classes...
Texas wants to protect privacy elements of blockchain companies, says Blockcap
22.4.2021
According to Darin Feinstein, the Chinese government isn't helping to protect the private property of its crypto miners
The Making (and Potential Benefits) of a CSS Font
22.4.2021
Not a typical one, at least. Each character is an HTML element, built with CSS. A true web font!
Let me elaborate. This is a way to render text without using any font at all. Random text is split with …
The post The Making (and Potential Benefits) of a CSS Font appeared first...
The `ping` attribute on anchor links
8.4.2021
I didn’t know this was a thing until Stefan Judis’s post:
<a href="https://www.stefanjudis.com/popular-posts/"
ping="https://www.stefanjudis.com/tracking/"Read popular posts</a
You give an anchor link a URL via a ping attribute, and the browser will hit that URL with a...
Detect CSS Overflow Elements
8.4.2021
Every once in a while you encounter a CSS annoyance that takes some cleverness to discover. One such case rears its ugly head in unwanted and unexpected scrollbars. When I see unwanted scrollbars, I usually open developer tools, click the element inspector, and hover around until I find...
How to describe element’s natural sizing behavior
26.3.2021
PPK:
When introducing width and height I explain that by default width takes as much horizontal space as it can, while height takes as little vertical space as possible. This leads to a discussion of these two opposed models
…
The post How to describe element’s natural sizing...
How to describe element’s natural sizing behavior
26.3.2021
PPK:
When introducing width and height I explain that by default width takes as much horizontal space as it can, while height takes as little vertical space as possible. This leads to a discussion of these two opposed models
…
The post How to describe element’s natural sizing...
Decentralized Exchange Uniswap Reveals Protocol Version 3 With New Automated Elements
25.3.2021
Roughly 28 months ago, the decentralized exchange (dex) Uniswap version one (v1) was released and then in May 2020, version two was launched with new features. The dex is by far the largest decentralized trading platform among its competitors, as the exchange swapped $7.1 billion during the last...
Creating Custom Form Controls with ElementInternals
24.3.2021
Ever since the dawn of time, humanity has dreamed of having more control over form elements. OK, I might be overselling it a tiny bit, but creating or customizing form components has been a holy grail of front-end web development …
The post Creating Custom Form Controls with ElementInternals...