3 ms·
Having a video with a black background inside a container with mix-blend-mode: plus-lighter is an awesome idea! I do not know if this is a common way to have a
by host0 2y ago
Having a video with a black background inside a container with mix-blend-mode: plus-lighter is an awesome idea! I do not know if this is a common way to have a "transparent" video, but I am definitely going to be using it a lot.
- portmantoad 2y agoI haven't seen anyone else do it, I feel like browser blend modes in general are kind of not used as much as they ought to be. I also, on the topic of tech details, make extensive use of the new scroll-timeline stuff which lets you tie CSS animations to the scroll position. it has only landed in chrome at the moment (as of maybe February) so I just use it as a progressive enhancement but it's very cool and performant.
- timsco 2y agoThis struck me as well. Flash's video format, .flv was transparent out of the box and we used to do a lot of fun things with video floating over flash things. When flash met it's untimely death, the advertising creatives that I worked spent 10 years asking for solutions that involved transparent video in html; we had to tell them no. I hadn't really considered that browser blend modes have turned that party back on.