logo

NJP

Creating Web Widgets Using the Document Picture-in-Picture API

CSS-Tricks · Aug 27, 2026 · article

The general idea is that we create a Document Picture-in-Picture window (DPIP window), and then we put HTML, CSS, and JavaScript into it.


Creating Web Widgets Using the Document Picture-in-Picture API originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

View original source

https://css-tricks.com/creating-web-widgets-using-the-document-picture-in-picture-api/