MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/d6d7ff2e2f9c

jstewart8053

Member since
jstewart8053

Recent Docs Activity

View all activity
Page Date Comment

window.requestAnimationFrame()


GlobalEventHandlers.onanimationiteration


Using CSS transitions


For simplicity and readability I Combined the individually listed transition properties into the shorthand syntax. With no other examples of shorthand on page and only 2 properties in CSS, this was fitting.

:not()


The original example code did not work as intended. The CSS wasn't applied because the author didn't use the correct CSS comments. I also revised the class name from 'classy' to 'shiny' to avoid confusion to the reader.

Using CSS transitions