Show newer

RT David K. 🎹
Loved this cursor glow by @linear so much that I had to recreate it with CSS and a little bit of JS on @CodePen:
🔗
It uses CSS variables, radial gradients, and a clever inset to achieve the effect ✨
Brian Lovin: This is neat — the cursor glow hits the edges of neighboring boxes, but doesn't illuminate their fills until the mouse actually crosses over.
Lovely work, as always 😍
twitter.com/linear/status/1519

:sys_twitter: twitter.com/DavidKPiano/status

RT ilithya
S02 E04
Earlier this year @iamelizasj and I welcome 2022 with a fabulous guest on our stream — @formographik Nicole took us on a gradient & noise journey which was very detailed!…
codepen.io/ilithya/details/jOG

:sys_twitter: twitter.com/ilithya_rocks/stat

RT Adam Argyle
Animate opacity and not a blur() filter.
See it in this demo:
The blur() animation has awkward viewport edge blurring. Opacity animation doesn't.
Also, the effort level (CPU or GPU usage) of the opacity animation is far less than a filter.
Win. Win.
codepen.io/argyleink/pen/eYyaw

:sys_twitter: twitter.com/argyleink/status/1

RT Álvaro Montoro
An interactive SNES controller in 3D, coded in HTML and CSS.
Click on the top circle to change the camera angle. It works using a mouse, keyboard, or a gamepad connected to the browser (I had to add a pinch of JS for that 😉)
Demo on @CodePen:
codepen.io/alvaromontoro/full/

:sys_twitter: twitter.com/alvaro_montoro/sta

RT Ahmad Shadeed
💡In flexbox, pseudo-elements are treated as flex items.
In the example, the line is filling the available space, and the margin will flip based on the direction thanks to CSS logical properties.
h2:after {
flex: 1;
margin-inline-start: 0.5rem;
}
🔗
codepen.io/shadeed/pen/yLpWBmP

:sys_twitter: twitter.com/shadeed9/status/15

RT Louis Hoebregts
Combining @greensock power with @threejs and boom 🔥
The animation is using `.setDrawRange()` on each tube's geometry to make them grow 💡
Watch it live (without Twitter compression) on @CodePen ⚡️
codepen.io/Mamboleoo/pen/abExQ

:sys_twitter: twitter.com/Mamboleoo/status/1

RT Chris Coyier
Loved talking with @winkerVSbecks this week on @CodePen Radio
I got to ask a lot of questions about the generative NFT world that I was curious about.
blog.codepen.io/2022/04/20/364

:sys_twitter: twitter.com/chriscoyier/status

RT ˗ˏˋrogieˎˊ is going to config
Probably one of the most weird things I've coded on a whim is this emoji to higher rez png thing. Type in an emoji, hit download, get a high rez png of it:
codepen.io/rogie/full/zYpbbLY

:sys_twitter: twitter.com/rogie/status/15173

RT Louis Hoebregts
Drawing shadows with can be hard to manipulate and very non efficient!
A quick solution is to duplicate your canvas into another one with `blurCanvas.drawImage(canvas)` and apply a `filter: blur(5px)` in CSS on it ✨
Check the code on @CodePen 👇
codepen.io/Mamboleoo/pen/GRyex

:sys_twitter: twitter.com/Mamboleoo/status/1

RT Jhey 🔨🐻✨
CSS MonDDDrian 🎨✨
Tap to regenerate! 👇
Seen some posts about learning CSS Grid by creating Mondrian style paintings 😎 Thought I'd recreate an old CSS Grid demo in 3D 🚀
👉
codepen.io/jh3y/pen/mdpvBey

:sys_twitter: twitter.com/jh3yy/status/15165

Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。