Show newer

"Modern CSS only column hover" by Sten Hougaard
codepen.io/netsi1964/pen/dyaPr
(Also, isn't it amazing how you can chuck a checkbox anywhere in the DOM, then do like body:has(.checkbox:checked) and *do anything you want* to style the page based on if it's checked or not? Jeepers.)

:sys_twitter: twitter.com/CodePen/status/173

RT T. Afif @ CSS Challenges
💡 CSS Tip!
Add a diagonal infinite shadow to your rounded image.
✅ No extra element (only the image tag)
✅ No pseudo-elements
✅ Optimized with CSS variables
Demo: codepen.io/t_afif/full/mdvaeoq via @CodePen

<div class="rsshub-quote">
T. Afif @ CSS Challenges: 💡 CSS Tip!
Add an infinite shadow to your image in any direction using a few lines of code
✅ No extra element (only the <img> tag)
✅ No pseudo-elements
✅ Only 2 CSS properties
✅ Works with rounded corners
Demo: codepen.io/t_afif/full/XWoNdGK via @CodePen

</div>
:sys_twitter: twitter.com/ChallengesCss/stat

RT Juxtopposed
couldn't resist turning this design into code.
✔️ responsive
✔️ interactive iOS squircle buttons
✔️ glassy
✔️ blurry
✔️ griddy
✔️ shiny
also can we normalize 3 buttons scattered across the page?
try it on @CodePen: codepen.io/Juxtopposed/full/md
thoughts?

:sys_twitter: twitter.com/juxtopposed/status

RT jhey ▲🐻🎈
CSS Tip! 📜
You can create scroll-driven micro-interactions with animation-timeline and custom properties 🔥
.search {
animation: shrink;
animation-timeline: scroll();
animation-range: 0 calc(var(--header-height) * 0.5);
}
@​keyframes shrink {
to { width: calc(100% -… twitter.com/i/web/status/17318

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

RT AdirCode 🔥
New CodePen!
Here's a small demo of the new "allow-discrete" attribute you can add to your animations, what it does is "smoothing" out properties like "display" and "visibility" to avoid any unintended instant shifts in flow.
Here's the @CodePen
codepen.io/Adir-SL/pen/qBgJqdv

:sys_twitter: twitter.com/adircode/status/17

RT JohnPhamous
0 javascript infinite carousel
- the trick is to duplicate the items
- for a11y, add `aria-hidden` to all the duplicated items
codepen 👇

:sys_twitter: twitter.com/JohnPhamous/status

RT David Aerne
Navigating uncharted visual problems on @CodePen is a joy for me! 🎨 I tackle it step by step, visualizing each move. Even if the rectangles could snug tighter with attractors, I love the visual appeal. Tightened it up a bit! Check it out: codepen.io/meodai/pen/QWYVmjY

:sys_twitter: twitter.com/meodai/status/1730

RT Ana Tudor 🐯🖤🌻
So this pure CSS gravity button has been my most popular demo in November.
You can check out the live demo on @CodePen:
codepen.io/thebabydino/pen/bGz

:sys_twitter: twitter.com/anatudor/status/17

RT Aaron Iker ✨
Original concept by @Jakubantalik 🙏
Just did the implementation ✨
🔗 On @CodePen codepen.io/aaroniker/pen/QXxex
<div class="rsshub-quote">
Dawid Jankowski: Daily product design inspiration #30 - Upload, Play & Pause animation by @aaroniker_me
</div>
:sys_twitter: twitter.com/aaroniker_me/statu

"LIQUID CONTENT REVEAL" by Ksenia Kondrashova
codepen.io/ksenia-k/pen/dyaeGg
(So cool! In the video, I fork it and add "Knobs" to adjust some of the const values that make it all work, so they can be adjusted right from the preview itself.)

:sys_twitter: twitter.com/CodePen/status/172

Show older
小森林

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