
Father, Vegetarian, IT, Developer, Graphic Designer, Artist, Musician, Singer, Passionate of all Sciences.
Joined May 2019
- Tweets4.9K
- Following1.7K
- Followers207
- Likes17.4K
Fabio Curatolo retweeted
put together a growing set of page transitions using css view transitions 🎲
copy-paste/copy for agent 🤖
check 'em out ↓
Fabio Curatolo retweeted
[DATI #RIVISTI] #terremoto ML 2.6 ore 18:15 IT del 30-09-2026 a 11 km E Carapelle (FG) Prof= 10 Km #INGV_46743331 terremoti.ingv.it/event/4674…
Fabio Curatolo retweeted
destination slider 🧑🍳
input[type=range] controllin' some svg + a gooey filter
Fabio Curatolo retweeted
spritesheets are, and always will be, a fun trick! ⚡
translate with css based on pointer position
grace note™ blink included ♪
Fabio Curatolo retweeted
play 🤝 pause
you don't always need to morph the svg
jus' a little scale + translate on the paths w/ css 👇
Fabio Curatolo retweeted
messin' with css frosted + saturated borders using background-clip + backdrop-filter 👨🍳
Fabio Curatolo retweeted
if you’re dynamically masking a scroll container with css, consider leaving room for the scrollbar instead of masking it too 🧑🍳
mask-repeat: no-repeat;
mask-size: calc(100% - 10px) 100px;
Fabio Curatolo retweeted
configurable transition strips™
view transitions + css clip-path → copy to clipboard
use for page transitions, theme switching, etc. 🧑🍳
Fabio Curatolo retweeted
tiny detail: cursor: pointer needed a pointerdown counterpart 👇
button:active {
cursor: url(pointerdown.svg) 15 10, pointer;
}
Fabio Curatolo retweeted
Most devs don't know CSS can do spring animations.
This linear function does the trick:
.btn {
...
transition: all 800ms linear(
0,
0.7 10%,
/* overshoot → spring pop */
1.2 20%,
0.9 40%,
/* another small overshoot for realism */
1.05 70%,
1
);
}
.btn:hover {
transform: scale(1.2);
}
The key is those 2 overshoot values.
Going past 1 twice snapping back below 1 is what creates the spring feel on hover.
Have you used linear() before? 👀
Fabio Curatolo retweeted
scroll-driven wordmark morph w/ css
give each translate axis a different timing function to create a curved motion path instead of a straight line 👇
.wordmark {
animation-name: tx, ty;
animation-timing-function: ease-in, ease-out;
animation-timeline: scroll(root);
}
Fabio Curatolo retweeted
How to truncate texts with ellipsis in pure CSS.
p {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 30rem;
}
Fabio Curatolo retweeted
your signature is a custom easing function™ ✒️
draw it
map the motion to css linear() timing function
package as portable SVG
paste anywhere 👇
Fabio Curatolo retweeted
CSS Content Fade Effect. ✨
.vertical-fade {
mask-image: linear-gradient(
to bottom,
transparent 0%,
black 15%,
black 85%,
transparent 100%
);
/* Webkit Support */
-webkit-mask-image: linear-gradient(
to bottom,
transparent 0%,
black 15%,
black 85%,
transparent 100%
);
}
.horizontal-fade {
mask-image: linear-gradient(
to right,
transparent 0%,
black 15%,
black 85%,
transparent 100%
);
-webkit-mask-image: linear-gradient(
to right,
transparent 0%,
black 15%,
black 85%,
transparent 100%
);
}
Fabio Curatolo retweeted
reminder that you can also create lighting effects with a little css + svg filters
<feSpecularLighting> + <fePointLight> bound to pointer position 👨🍳
Fabio Curatolo retweeted
it's a combo of css pow() + clamp() that makes it possible 👨🍳
Fabio Curatolo retweeted
using css pow() you can create runtime-configurable fluid typography that responds to viewport or container size 😉
for example, "minimum of 14px at 375px and scale to maximum 24px at 1500px"
all powered by pow() and custom properties
Fabio Curatolo retweeted
This one line of CSS will fix the annoying layout shift that scrollbars cause.
This happens when a non-scrollable container becomes scrollable due to its content.
This gets rid of that problem:
.container {
scrollbar-gutter: stable;
}
With that, space is reserved for the scrollbar before it even appears.
So there's no layout shifts when content grows.
Use both-edges if your content is centered.
It mirrors the reserved space on both sides of the container to keep the layout balanced.
If you found this one useful, follow for more. ❤️





