Show newer

RT jhey 🔨🐻✨
A question in the replies about the CSS container query types and it reminded me of these demos over on @CodePen 😅
These were for an article about container queries and creating the Peter Griffin blinds 👀
Resize container to style the beard 😂
Grab the @css article below 👇
<div class="rsshub-quote">
jhey 🔨🐻✨: CSS Tip! ✨
You can make your component styles portable with container queries 😎
Change a card layout based on size 🔥
Remove button text when it's small 🤏
.card {container-type: inline-size;}
@ container (min-width: 50ch) {.info { grid-column: 2; }}
@CodePen link below 👇
</div>
:sys_twitter: twitter.com/jh3yy/status/16864

RT Jordan Dey
Did my "Easy Flexible Gallery Grid" capture your heart?❤️
Well, there's more magic in store!✨
I've just sprinkled some extra enchantment by adding an new feature: now you can effortlessly add and remove images with smooth transitions!🖼️🔥
@CodePen : codepen.io/DeyJordan/pen/ExOGR

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

RT Carl 💥 Creative Coding Club
99.95% of Websites do NOT need a Ferris Wheel.
I use lessons like this to show the power of combining GSAP w/ JavaScript basics like using functions to
💥generate a dynamic number elements
💥dynamically resize, position and rotate them
Demos and story of the Ferris Wheel below

:sys_twitter: twitter.com/snorklTV/status/16

RT T. Afif @ CSS Challenges
💡 CSS Tip!
Add a fancy reveal animation to your image on hover
✅ No extra element (only the <img> tag)
✅ Powered by Trigonometric functions and @​property
✅ Optimized with CSS variables
Demo: codepen.io/t_afif/full/YzRdWXQ via @CodePen

:sys_twitter: twitter.com/ChallengesCss/stat

RT jhey 🔨🐻✨
CSS Tip! ✨
Combine :has() and trig functions to select previous siblings and create an Apple-style OS dock 🔥
CSS only, no JS! 🤯
.b:has(+ .b:hover),
.b:hover + .b {
flex: calc(0.2 + (sin(30deg) * 1.5));
translate: 0 calc(sin(30deg) * -75%);
}
@CodePen link below! 👇

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

RT Dr Abstract
Oooo! A @CodePen for physics particles. Here we use the ZIM Emitter with an interactive sink that attracts the particles!
Try it out and fork it at codepen.io/zimjs/pen/poQxMLd - we love CodePen!

:sys_twitter: twitter.com/Dr_Abstract/status

RT Adam Argyle
I can't stop seeing View Transitions!
here I'm animating new `node.textContent`, letting the browser handle the morph while bringing in custom animations (and stagger) for stage enter and stage exit 🥲
try it codepen.io/argyleink/pen/jOQKd

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

RT Ksenia Kondrashova
Minimal wave animation on HTML5 Canvas - only 2kb (!) of vanilla JS code
All we have here is a linear interpolation from one random sine wave to the next one. Check out the code and feel free to ask questions!
Live demo & source code: codepen.io/ksenia-k/pen/PoxdXM
Hosted on @CodePen

:sys_twitter: twitter.com/uuuuuulala/status/

RT Wakana Y.K.
Tonight, the bunny is in the spotlight on stage, responding to the cheers of the crowd🐰🪩✨
Particle Spotlight
Demo:codepen.io/wakana-k/pen/eYQjRe
@CodePen

:sys_twitter: twitter.com/WakanaYK/status/16

RT Amit Sheen
New video! with @KevinJPowell, and as a nod to this month's , we talked about particle animations, and also about animating the timing function, SASS loops, nice uses of random, and more.
Would love to get your comments and remarks. 😊
youtu.be/9dEIg2xOphE

:sys_twitter: twitter.com/amit_sheen/status/

Show older
小森林

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