csslab (@csslab) header
csslab (@csslab) profile picture

I type code for browsers and machines. And humans sometimes | Jorge Epuñan, author and artisan in CSSLab.

Santiago, Chile
Joined August 2008
Photo by csslab (@csslab)Photo by csslab (@csslab)Photo by csslab (@csslab)Photo by csslab (@csslab)Photo by csslab (@csslab)Photo by csslab (@csslab)Photo by csslab (@csslab)Photo by csslab (@csslab)
csslab retweeted
自分用に、CSS構文 + GUIでCSSアニメーションをもっと遊べる「Ultra CSS Animation」を密かに用意してる⚡️ Web以外でも作品つくっていくぞ。 ・コーディング環境を含めたGUIのエディタ ・シェーダー用などの独自のプロパティ ・動画・Unity・WebGLへの書き出し️
16
96
3
1,050
30,229
Due to AI, I have disabled external pull requests on all my repos. Open source, as we have known it, was fun while it lasted. (It’s been 15 years for me) I will still maintain projects and handle issues.
154
115
78
2,527
555,741
UI/UX Designers, Poppins and Inter are overrated. Here are 07 mind-blowing, free fonts for your next design project: → Geist → Aeonik → Satoshi → Cal Sans → Manrope → Helvetica → Space Grotesk
6
31
1
291
13,037
csslab retweeted
Mole V1.24.0 Razor is out. The Mac cleaner just got sharper. github.com/tw93/Mole • Batch cleanup significantly faster using find delete • Auto-empties Trash via Finder • Firewall-aware: Little Snitch, LuLu, Radio Silence • Deeper scans, now up to 6 levels • New operation logging for debugging
11
12
4
260
42,533
Try Niveau Grotesk for your next branding project: fonts.ilovetypography.com/fo…
1
6
38
13,086
Wildest #CSS media query I've written in a while `@container (inline-size >= calc(100cqi - 120px))` yep, `calc()` in a MQ! WHY? to re-anchor buttons to be "inside" when space is tight video: purple outline's are containers nerdy.dev/carousel-adaptive-…
7
60
1
639
27,590
👉🏻 🍺 🍺🍺 🍺🍺🍺 🍺🍺🍺🍺 🍺🍺🍺🍺🍺 👅 #HappyChristmas
2
8
CSS Tip 💡 Simple formula for calculating nested border-radius 🤩👇
5
78
650
37,841
CSS-only magnetic link effect 🤯 li:has(a:is(:hover, :focus-visible)) {anchor-name: --a; } ul::before { left: anchor(--a left); width: anchor-size(--a width); } using CSS anchor positioning, declare an anchor on hover for the indicator 🚀
49
325
16
4,244
234,816
I’ve taken the #threejs water realism to the next level! Now with RGB distortion in the caustics, we get even more realistic, colorful light projections. The water movement has been improved to flow naturally, with optimizations for smoother performance. Plus, I’ve added a post-processing effect that simulates underwater distortion, complete with a dynamic waterline when the camera is partially submerged. After diving in, watch out for realistic water droplets on the screen! Stay tuned for the live link coming soon! 🌊💧. You can watch the video with better quality on my YouTube Channel. #threejsJourney #creativecoding #r3f
83
326
31
3,601
214,755
CSS Tip! ✨ You can use CSS container query units in your animations to create this glowy border button effect! 🎬 Watch the video for the exploding view breakdown 👀 @​keyframes slide { to { translate: calc(100cqw - 100%) 0; } } .glows { container-type: size; } The "trick" is to animate an element from side to side within the container. .glow { animation: slide calc(var(--speed) * 1s) ease-in-out infinite alternate paused; } Note the use of a custom property for the speed 📝 Whilst doing that, you rotate an element within that container. That element has a conic-gradient. And it's important that the element has a 1:1 aspect-ratio. .glow::before { background: conic-gradient( from calc(270deg - (var(--glow-spread) * 0.5)), var(--glow) 0, var(--glow) var(--glow-spread), transparent var(--glow-spread)); animation: spin calc(var(--speed) * 2s) infinite paused linear; } Note that the spin is 2x the speed of the slide ⭐️ That's pretty much all there is to it. Other details include turning the animation on/off when the button is hovered or has visible focus. button:is(:hover, :focus-visible) .glow { animation-play-state: running; } And things like showing the glow at the same time by transitioning the opacity. To show then hide the glows on hover, you can use an animation that shows then hides the glows. @​keyframes reveal { 0%, 100% { opacity: 0; } 20%, 80% { opacity: 1; } } And lastly, you can control various things using scoped custom properties 🫶 Hope the exploding view helps! If you have any questions, let me know! @CodePen link below! 👇
17
218
9
1,914
248,879
Drawing with <input type="range"> 🖌️ lab.hakim.se/range-paint/
38
211
37
2,123
279,119
Added transitions between scrolled files
11
30
1
365
csslab retweeted
We achieved 150 stars today on awesome-threejs ⭐ Thank you to everyone that contributed already and gave some strength to this. I was not expected that much people to join in. If you want to contribute too: github.com/0xAxiome/awesome-… It is a curated list of resources for #threejs
1
25
1
131
Interesting tool to visualise JSON as a tree: jsoncrack.com/editor
2
9
1
24
Neat. Pitivi is a free and open source video editor for Linux. pitivi.org/
2
3
Codevember 2021 #17 | Attraction #threejs Particles inside an electrostatic field Live: spite.github.io/codevember-2… Source: github.com/spite/codevember-…
11
50
6
481
New CodePen!✨ — “A Generative SVG Noise Pattern Maker” I love this style of pattern and wanted to add some to my in-progress personal site, so I built a little generative pen to create them. Hopefully some folks find it useful! 🚀 codepen.io/georgedoescode/fu…
7
21
2
135