Amit Sheen
@amitsheen.bsky.social
400 followers 120 following 59 posts
Experienced web developer, specializing in design systems, animation, and creative coding. Passionate about pushing CSS to its limits. Posts (mostly) front-of-the-frontend stuff and animations. Don't follow people who post or share about politics.
Posts Media Videos Starter Packs
Pinned
amitsheen.bsky.social
🚨 New Course Alert 🚨
DevTools for Beginners

@kevinpowell.co and I just released a brand new (and totally free!) email course all about DevTools and how to use them in ways that actually help you debug and improve your CSS.

🔗 Full details and free signup here: devtoolsforbeginners.kevinpowell.co
amitsheen.bsky.social
I'm sorry, didn’t mean for it to sound like Chrome was the only one driving this. I only highlighted the Chrome update as a signal that the feature is starting to gain traction. I’ve adjusted the article, hope it reads better now.
amitsheen.bsky.social
True, but it still was not very usable. It is still not practical to use it in production, but I am really happy to see it starting to get implemented.
amitsheen.bsky.social
Great work!

And yes, I did. 😜
The rotation is nice, but it's old (about 4 years ago), it uses scss, animates the clip-path, and it's very heavy and slow. Not my best code. Maybe I need to redo it with modern CSS...

🔗 codepen.io/amit_sheen/p...
amitsheen.bsky.social
Playing with angles is fun! 😀
I'm here if you want to figure out the math together.
amitsheen.bsky.social
Inspired by Temani’s brilliant work, where he created a box using only `border-radius` and `corner-shape`, I built on his code, played with different angles, and came up with this dynamic demo.

Live demo on @codepen.io: codepen.io/amit_sheen/f...
amitsheen.bsky.social
✨ New article ✨

Are we at the start of a new era?

Chrome 140 introduced CSS Typed Arithmetic. It might seem like a minor change, but I believe it's huge as it opens the door to countless new possibilities and a whole new era of Computational CSS.

What do you think?

css-tricks.com/css-typed-ar...
amitsheen.bsky.social
I was inspired by another amazing animation from Jon Kantner, so I made a pure CSS version. 400 squares, using sibling-index() and sibling-count(), a bunch of trig functions, and some typed arithmetic. (Currently works in Chrome 140+ only)

Live demo on @codepen.io: codepen.io/amit_sheen/f...
Reposted by Amit Sheen
utilitybend.com
🚀The new CSS sibling-index() and sibling-count() functions let us create staggered animations, dynamic color palettes, and even complex circular layouts with ease.
I wrote about my first experiments with these fantastic new CSS additions. So much fun! ♥️ ✨
#CSS
utilitybend.com/blog/styling...
Styling siblings with CSS has never been easier. Experimenting with sibling-count and sibling-index | utilitybend
Ready to spice up your CSS? This article dives into the new sibling-count() and sibling-index() functions, showing you how they can simplify your styling and create cool effects.
utilitybend.com
amitsheen.bsky.social
Start with two colors, and add a new color between any two existing ones. You can drag colors around, adjust the HSL, copy it, and delete any color you don't want.

That way you can begin a palette with only two colors and then expand and refine it as needed.

🔗 codepen.io/amit_sheen/f...
HSL color palette
...
codepen.io
amitsheen.bsky.social
A couple of days ago I came across Jon Kantner’s excellent color palette generator, and it reminded me that a few years back I built something quite similar (great minds and all that) back when HSL was the hot new thing.

(Links in comment 👇)
amitsheen.bsky.social
Thank you! I gained so much insight while writing this, and it was both challenging and rewarding to find a way to explain things in a clear and approachable manner.
amitsheen.bsky.social
✨ The `-path` of Least Resistance (part 2) ✨

From shapes that define boundaries to paths that drive motion. We shift to `offset-path`, where elements no longer get clipped but flow along custom routes. 🤩

🔗 Read and share your thoughts on @frontendmasters.com:
frontendmasters.com/blog/the-pat...
Reposted by Amit Sheen
frontendmasters.com
The `-path` of Least Resistance (Part 2)

This time we're looking at offset-path (and friends), which can be used to create movement when animated and benefits from all the same fancy functions that we learned about with clip-path.
The `-path` of Least Resistance (Part 2)
This time we're looking at offset-path (and friends), which can be used to create movement when animated and benefits from all the same fancy functions that we learned about with clip-path.
frontendmasters.com
amitsheen.bsky.social
✨ New article: The `-Path` of Least Resistance ✨

First part of a series on the power of paths in CSS, kicking off with clip-path. From the basics to functions and syntax, all the way to advanced shape logic.

🔗 Read and share your thoughts on @frontendmasters.com
frontendmasters.com/blog/the-pat...
The `-path` of Least Resistance (Part 1)
A deep dive into `clip-path` from Amit Sheen, a very powerful tool in shape creation on the web, particularly now with `shape()`.
frontendmasters.com
Reposted by Amit Sheen
frontendmasters.com
The `-path` of Least Resistance (Part 1)

A deep dive into `clip-path` from Amit Sheen, a very powerful tool in shape creation on the web, particularly now with `shape()`.
The `-path` of Least Resistance (Part 1)
A deep dive into `clip-path` from Amit Sheen, a very powerful tool in shape creation on the web, particularly now with `shape()`.
frontendmasters.com
amitsheen.bsky.social
✨ Part three (and final) is out now! ✨

This series has been a deep dive into 3D layered text, and in this part we explore some advanced interactions while making the code cleaner and more dynamic with a touch of JS. 🤩

🔗 Read and share your thoughts on @css-tricks.com
css-tricks.com/3d-layered-t...
Reposted by Amit Sheen
css-tricks.bsky.social
Alright, we're capping off @amitsheen.bsky.social's CSS-Tricks takeover with the final chapter in his series — this time making fully responsive bulging text that follows your mouse in real time. ✨

css-tricks.com/3d-layered-t...
amitsheen.bsky.social
Wow! They look amazing.
Great work. 🤯
amitsheen.bsky.social
✨ 3D layered text - Part two is here! ✨

If this series of articles were a meal, this part would definitely be the main course. 😋

19(!) live examples of 3D text animations, and if you want to build them yourself, check it out on @css-tricks.com.

🔗 css-tricks.com/3d-layered-t...
amitsheen.bsky.social
✨ New article! ✨

This time it’s a three-part exploration of 3D layered text. 😎

The first part is all about the basics, from the very first line to text with real depth that feels like it pops off the page. 🤩

Check it out and share your thoughts on @css-tricks.com:
🔗 css-tricks.com/3d-layered-t...
Reposted by Amit Sheen
css-tricks.bsky.social
Alright, we're letting @amitsheen.bsky.social take over CSS-Tricks... all week! He's got a three-parter that's a super deep dive into 3D layered text.

Part one is all about creating an index of layers for adding depth, and it's full of goodies.

css-tricks.com/3d-layered-t...
amitsheen.bsky.social
I'm just loving the fact that we can now create such complex interactions with only a few simple lines of CSS. 🤯
(This demo is from an upcoming article I’m working on)