UX Lift logo

Creating Web Widgets Using the Document Picture-in-Picture API | CSS-Tricks

Firefox 151 adds Document Picture-in-Picture API, letting HTML/CSS/JS appear in a floating window; guide clones a stock ticker, checks support, creates the window, copies styles, and uses display‑mode media queries.

More from CSS Tricks

© 2026. Made in Manchester by Matt Kevan.

Privacy

Cookies

Contact