Easily transition to and from display: none
From Kevin Powell · · 2 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.
If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.
Not rated yet
Description
Thanks to @starting-style and transition-behavior we can now easily transition to and from display: none #css