MDN wants to learn about developers like you:


Member since

Recent Docs Activity

View all activity
Page Date Comment



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.


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