Day 17: the :picture-in-picture pseudo-class

from blog Manuel Matuzović - Blog, | ↗ original
↗ original
You can use the :picture-in-picture pseudo-class to style an element, usually a , which is currently in picture-in-picture mode (PIP).Clicking the following button puts the video in picture-in-picture mode in supporting browsers (Chrome, Edge, Safari, Opera). Firefox doesn't support the API, but you can right-click the video and select “Watch in...