Package detail

css-device-frames

jhildenbiddle564MIT1.0.6

A collection of single-element, CSS-only application and device frames with support for multiple themes, customization via CSS custom properties, grid-based layouts, iframe elements, and scrolling content.

browser, css, dark, device

readme

css-device-frames

NPM GitHub Workflow Status (master) Codacy grade License: MIT jsDelivr Sponsor this project

A collection of single-element, CSS-only application and device frames with support for multiple themes, customization via CSS custom properties, grid-based layouts, <iframe> elements, and scrolling content.

Examples

<picture> <source srcset="https://raw.githubusercontent.com/jhildenbiddle/css-device-frames/master/docs/assets/img/screenshot.webp" type="image/webp"> Screenshot of CSS device frames </picture>

Features

  • Single-element application and device frames
  • Multiple themes and style options
  • Customization via CSS custom properties
  • Fluid and responsive frames
  • CSS grid support for frame content
  • Scrollable frame content
  • <iframe> support for external frame content

Browser Support

Chrome 71+
Edge 80+
Firefox 64+
Safari 12.1+
Not supported

Usage & Options

See the documentation site for details.

Sponsorship

A sponsorship is more than just a way to show appreciation for the open-source authors and projects we rely on; it can be the spark that ignites the next big idea, the inspiration to create something new, and the motivation to share so that others may benefit.

If you benefit from this project, please consider lending your support and encouraging future efforts by becoming a sponsor.

Thank you! 🙏🏻

Contact & Support

  • Follow 👨🏻‍💻 @jhildenbiddle on Twitter and GitHub for announcements
  • Create a 💬 GitHub issue for bug reports, feature requests, or questions
  • Add a ⭐️ star on GitHub and 🐦 tweet to promote the project
  • Become a 💖 sponsor to support the project and future efforts

License

This project is licensed under the MIT License. See the LICENSE for details.

Copyright (c) John Hildenbiddle (@jhildenbiddle)

changelog

Change Log

1.0.6

2024-02-06

  • Fix GitHub workflow badges

1.0.5

2022-08-01

  • Fix rounded corder overflow bug when --padding-[v|h] set to 0

1.0.4

2022-07-29

  • Fix README.md

1.0.3

2022-07-29

  • Fix mac wireframe & win dark button colors
  • Update default light and dark styles

1.0.2

2021-10-04

  • Fix bar width with grid-based scrolling content

1.0.1

2021-10-02

  • Fix scrolling content wrapper width
  • Add style property to package.json
  • Remove documentation from npm package

1.0.0

2021-10-02

  • Initial release