正在加载视频...
视频加载失败
CSS only balance sliders 🤙 @keyframes sync { to { --value: 1; }} .slider { animation: sync; animation-timeline: --thumb; } .track { scale: var(--value) 1; } ::-webkit-slider-thumb { view-timeline: --thumb inline; } Scroll-animated input [type=range] in disguise 🥸
276,038 次观看 • 2 年前 •via X (Twitter)
10 条评论

Sam Rose2 年前
What fucking sorcery is this and where can I learn it?

Simon Lind2 年前
Very cool! Do you think there’s a way to make the small effect from iOS when the slider value is extending beyond its max with css?

jhey ▲🐻🎈2 年前
Ahh - Thank you for sending me a clip of this. There was a comment about it and I don't have an iPhone to see it in action. Can totally give this a touch of progressive enhancement 💯

˗ˏˋ rogie ˎˊ˗2 年前
This is hot

Nick Taylor2 年前
This is so sick and slick. 🔥🔥🔥

Shantanu Sutar2 年前
Simple and sleek 😎

MVED2 年前
Can you share the codepen? I want to try on iphone to see how the feeling compares to the native animation

〽️ɪɢᴜᴇʟ 🎃2 年前
This is a genius use of delegator pattern.

Mery2 年前
Yes 100% @Apple needs to take some notes

Parker Rex2 年前
Got damn this is nice
