Search
Better CSS Shapes Using shape() — Part 3: Curves
6.6.2025
This is the third article in a series about the CSS shape() function. We've covered drawing lines and arcs in previous articles and, this time, we look specifically at the curve command and how to use it for drawing complex shapes.
Better CSS Shapes Using shape() — Part 3: Curves originally...
Exploring the CSS contrast-color() Function… a Second Time
5.6.2025
The contrast-color() function doesn’t check color contrast, but rather it outright resolves to either black or white (whichever one contrasts the most with your chosen color). Safari Technology Preview recently implemented it and we explore its possible uses in this article.
Exploring...
Better CSS Shapes Using shape() — Part 2: More on Arcs
30.5.2025
This is the second part of a series that dives deep into the CSS shape() command, continuing with a more detailed look at the arc command.
Better CSS Shapes Using shape() — Part 2: More on Arcs originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get...
Better CSS Shapes Using shape() — Part 1: Lines and Arcs
23.5.2025
This is the first part of a series that dives deep into the shape function, starting with shapes that use lines and arcs.
Better CSS Shapes Using shape() — Part 1: Lines and Arcs originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter
SVG to CSS Shape Converter
21.5.2025
Shape master Temani Afif has what might be the largest collection of CSS shapes on the planet with all the tools to generate them on the fly. There’s a mix of clever techniques he’s typically used to make those shapes, …
SVG to CSS Shape Converter originally published...
CSS shape() Commands
2.5.2025
The CSS shape() function recently gained support in both Chromium and WebKit browsers. It's a way of drawing complex shapes when clipping elements with the clip-path property.
CSS shape() Commands originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get...
Functions in CSS?!
3.3.2025
Arguments?! Return values?! What's crazier, you can use functions right now in Chrome Canary! So, after reading and playing around, here are my key insights on what you need to know about CSS Functions.
Functions in CSS?! originally published on CSS-Tricks, which is part of the DigitalOcean...
The What If Machine: Bringing the “Iffy” Future of CSS into the Present
17.2.2025
My thesis for today's article offers further reassurance that inline conditionals are probably not the harbinger of the end of civilization: I reckon we can achieve the same functionality right now with style queries, which are gaining pretty good browser support.
The What If Machine: Bringing...
Typecasting and Viewport Transitions in CSS With tan(atan2())
12.2.2025
We’ve been able to get the length of the viewport in CSS since… checks notes… 2013! Surprisingly, that was more than a decade ago. Getting the viewport width is as easy these days as easy as writing 100vw, but …
Typecasting and Viewport Transitions in...
How to Wait for the sibling-count() and sibling-index() Functions
13.1.2025
Today, I want to look into one of those cases of impatient and how the community has waited for that feature, to be specific, two upcoming functions: sibling-count() and sibling-index().
How to Wait for the sibling-count() and sibling-index() Functions originally published on CSS-Tricks, which...
Crypto user convinces AI bot Freysa to transfer $47K prize pool
29.11.2024
It took 482 attempts from 195 participants before Freysa was convinced from a persuasive message to transfer the $47,000 of prize pool funds
Come to the light-dark() Side
25.10.2024
You’d be forgiven for thinking coding up both a dark and a light mode at once is a lot of work. You have to remember @media queries based on prefers-color-scheme as well as extra complications that arise when letting visitors …
Come to the light-dark() Side originally published...
CSS Olympic Rings
7.8.2024
It was a few years ago during the 2020 Olympics in Tokyo 2020 that I made a demo of animated 3D Olympic rings. I like it, it looks great, and I love the effect of the rings crossing each other.…
CSS Olympic Rings originally published on CSS-Tricks, which is part of the DigitalOcean family....
CSS Functions and Mixins Module Notes
31.7.2024
Most days, I’m writing vanilla CSS. Thanks to CSS variables and nesting, I have fewer reasons to reach for Sass or any other preprocessor. The times I reach for Sass tend to be when I need a @mixin to loop …
CSS Functions and Mixins Module Notes originally published on CSS-Tricks...
Lido assures LDO, stETH tokens remain safe despite flaw in token contract
11.9.2023
The “fake deposit” attack enables bad actors to execute a transfer where the requested value is larger than what the user actually owns
Paypal USD: Boon for Ethereum but not decentralization, says community
8.8.2023
Proponents say PayPal’s PYUSD could see Ethereum become the money layer of the internet, while opponents argue that it’ll act like a poorly designed CBDC
Chainlink brings Keepers and VRF to the Avalanche blockchain
9.6.2022
Ava Labs CEO Emin Gün Sirer said that this will simplify the experiences of Avalanche developers and users
Netlify Has Scheduled Functions
8.2.2022
(This is a sponsored post.)
Hey! Scheduled Functions are cool! Think of them like a CRON job. I want this code to run every Monday at 2pm. I want this code run every hour on the hour. That kind …
Netlify Has Scheduled Functions originally published on CSS-Tricks. You should get...
Collecting Email Signups With the Notion API
27.9.2021
A lot of people these days are setting up their own newsletters. You’ve got the current big names like Substack and MailChimp, companies like Twitter are getting into it with Revue, and even Facebook is getting into the …
The post Collecting Email Signups With the Notion API appeared first...
AWS Lambdas: Easy, Easier, Easiest
4.9.2021
I’d say cloud functions are one of the most transformative technologies in the last bunch of years. They are (usually) cheap, scale well, secure in their inherit isolation, and often written in JavaScript—comfortable territory for front-end developers. Nearly every cloud …
The post...