Show newer

"Animate CSS Grid with View Transitions" by @Bramus
codepen.io/bramus/pen/VwEXmqd
This View Transitions API stuff is big. It's cool on a single page using `document.startViewTransition` but it's going to be even better & easier on actual page transitions (⛳️'d in Chrome Canary) t.co/2teoHPa2yR

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

RT jhey 🔨🐻✨
Know what View Transitions are good for? 👀
Slide deck transitions! ⚡️
Transitions between slides are a cool use case for doing something between DOM states 🤓
This is a little peak at something I've been putting together ✨ (Rest is for Miami 😎)
@CodePen link below! 👇 t.co/OXJq7LKBl1

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

RT Genwaver
Here it is! A codepen of the last series. Feel free to play with the parameters and the code. I suggest you to mess around with the fragment shader to create different patterns. Have fun 💖
codepen.io/silmood/full/bGmKNo
t.co/Vecvb7FfB2

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

RT jhey 🔨🐻✨
CSS Tip ✨
Button shimmers are a cool use case for container queries 🤓
Shift an element side to side whilst spinning a gradient
Don't know the size? Use a query ⚡️
button{container-type: size;}
@ keyframes slide {to{
translate: calc(100cqw-100%) 0;
}}
@CodePen link below 👇 t.co/OUBqtRpO9D

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

RT Nicolas Jesenberger
Skeuomorphic Range Slider with CSS & JS 🎚️
@CodePen and details about how I made it below 🧵⬇️ t.co/I9NrldefzZ

:sys_twitter: twitter.com/njesenberger/statu

"Animate CSS Grid with View Transitions" by @Bramus
codepen.io/bramus/pen/VwEXmqd
This View Transitions API stuff is big. It's cool on a single page using `document.startViewTransition` but it's going to be even better & easier on actual page transitions (⛳️'d in Chrome Canary) t.co/9zmZTH3KPw

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

"Multi-input Maze 🎮" by @mrvalaty
codepen.io/nitnelav/pen/GRQEad
Works with:
- Keyboard Arrow Keys
- Clicking buttons with mouse
- The GamePad API (?!)
- Swiping on Touch Pad
- Tilting mobile device
- JS API
Cool. t.co/Bhrcnu9Y2e

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

RT Zoë | z-
Getting that shrinking feeling. A drop-down that hides based on the distance the cursor has moved away. codepen.io/z-/pen/dygeoyO on @CodePen
This also uses CSS Grid to get the button to smoothly change to max size without setting the size explicitly.
t.co/in3srwA5Mu

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

RT jhey 🔨🐻✨
Future CSS Tip 🔮
You can animate numbers using @ property
property --ms {
inherits: false;
initial-value: 0;
syntax: '<integer>';
}
keyframes ms { to { --ms: 100; }}
Here's a pure CSS stopwatch! ⏱️ (Works in Chromium and Safari TP now 😎)
@CodePen link below! 👇 t.co/v3icJ4nwBU

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

RT T. Afif @ CSS Challenges
💡 CSS Tip!
Add a ribbon style to your title that extend to the edge of the screen.
✅ Only one CSS property 🤩
✅ No extra element
✅ No pseudo-element
✅ No scrollbar issue
Demo: codepen.io/t_afif/full/rNqJYrZ via @CodePen
t.co/BhBR3ZsBOu
<div class="rsshub-quote">
T. Afif @ CSS Challenges: 💡 CSS Tip!
Add a slanted background to your container that extend to the edge of the screen.
✅ Only 2 CSS properties 🤯
✅ No pseudo-element
✅ No scrollbar issue
✅ One variable to control the angle
Demo: codepen.io/t_afif/full/zYmpdeK via @CodePen
t.co/Pb1QJNwuaU
</div>
:sys_twitter: twitter.com/ChallengesCss/stat

Show older
小森林

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