ckirknielsen’s avatarckirknielsen’s Twitter Archive—№ 348

  1. …in reply to @nathansmith
    nathansmith ChrisFerdinandi If you have event listeners on the animation/transition end, you'll want to make them super short instead, and some animations are designed to set an element into ots final state, so cancelling it altogether moght not be best (unless you FLIP!). Part of hankchizljaw's CSS reset!
    1. …in reply to @ckirknielsen
      nathansmith (and sorry for my typos!)
    2. …in reply to @ckirknielsen
      nathansmith ChrisFerdinandi hankchizljaw (credit to atomiksdev) Media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }