@tobiasahlin@argyleink@chriscoyier Awesome! Theoretically removing `will-change` might also improve the performance, right? "It is intended to be used as a last resort [...] It should not be used to anticipate performance problems." developer.mozilla.org/en-US/docs/Web… I feel a slight improvement without it (Chrome)
@argyleink@chriscoyier Will share full source later! But forked yours and tried making it snappier: codepen.io/tobiasahlin/pe… I think what matters mostly here is 1) add more targets (3rd sibling on each side), 2) shorter ease out, 3) don't animate 'all', 4) width can also increase gradually 😌
got nerd sniped by this!
here's a way to do it with only CSS using `:has()`
(uses the system-ui font, may only work on MacOS and San Francisco variable font)
codepen.io/argyleink/pen/…
The UI could come from any developer and be loaded on the fly, similar to web apps in browsers.
And it could create the incentives to build tools that handle open file standards, and not to create app silos with custom file types.
@Gavmn I press the follow button, autocomplete my username in the popup window and then don’t have to login because it forwards me to the instance I’m on.
my favorite thing about mastodon is when someone posts their mastodon.social profile and I hit a login screen only for my username + password to be rejected because my account is on mastodon.design 🫠
@mrflix This only applies to scrolling from pagination steps. When you paginate I immediately set the final scrollTop and translate the inverse distance. Then I animate to transform none.
When you scroll normally there’s no transition so nothing special happening there.
@hakimel Wow! So you translate the scroll body and block manual scrolling? Did you try the passive event listener option? #improving_scrolling_performance_with_passive_listeners" target="_blank" rel="nofollow noopener">developer.mozilla.org/en-US/docs/Web… Theoretically the performance boost should be similar.
@xwolf Wenn die Sprache des Besuchers erkannt und der Inhalt, falls er in der Sprache vorliegt, ausgeliefert wird, kann die Sprachauswahl auch in den Footer wandern, oder?
@mrflix I understand. Achievements in more or less all games don't agree with you, though. It's a list of things you have to do, not a list of things you've already done. At least for most of the time.