# css-device-frames [![NPM](https://img.shields.io/npm/v/css-device-frames.svg?style=flat-square)](https://www.npmjs.com/package/css-device-frames) [![GitHub Workflow Status (master)](https://img.shields.io/github/actions/workflow/status/jhildenbiddle/css-device-frames/test.yml?branch=master&label=checks&style=flat-square)](https://github.com/jhildenbiddle/css-device-frames/actions?query=branch%3Amaster+) [![Codacy grade](https://img.shields.io/codacy/grade/250567c7cf2047999f0ff2bba69a45a6?style=flat-square)](https://app.codacy.com/gh/jhildenbiddle/css-device-frames/dashboard) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://github.com/jhildenbiddle/css-device-frames/blob/master/LICENSE) [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/css-device-frames/badge)](https://www.jsdelivr.com/package/npm/css-device-frames) [![Sponsor this project](https://img.shields.io/static/v1?style=flat-square&label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/jhildenbiddle) [![Add a star on GitHub](https://img.shields.io/github/stars/jhildenbiddle/css-device-frames?style=social)](https://github.com/jhildenbiddle/css-device-frames) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fjhildenbiddle%2Fcss-device-frames&hashtags=css,developers,frontend) A collection of single-element, CSS-only application and device frames with support for multiple themes, customization via CSS custom properties, grid-based layouts, ` ```html
``` ### Titles
macOS theme
Windows theme
macOS theme + centered title
```html
``` ### URLs
macOS theme
Windows theme
macOS theme + centered URL
```html
``` ### Content #### Grid
```css .app-frame { display: grid; align-items: center; justify-items: center; } ```
Left
Right
Bottom
```css .app-frame { --grid-columns: 1fr 1fr; --grid-rows: 1fr auto; display: grid; align-items: stretch; min-height: 200px; text-align: center; } ``` ```html
Left
Right
Bottom
``` #### Scrolling

Assumenda iure accusamus. Debitis ad iste. Tempore dignissimos consequatur. Voluptatem ut reiciendis fugiat. Qui et cumque sit vel quis dolorem harum animi. Quaerat atque voluptatem consequatur quas sed omnis alias qui.

Officiis assumenda magnam consectetur possimus atque. Earum repudiandae aliquam nesciunt possimus ratione est distinctio dolores enim. Totam nisi praesentium est voluptatem velit quo.

Voluptatibus totam omnis corrupti consequatur consequatur. Aut animi dignissimos quo numquam libero amet amet eos. Ducimus soluta corporis illo sapiente illo cumque voluptate voluptatem rerum. Voluptatem earum ratione tempore. Quam dolor sunt quo.

A culpa esse dolores et qui. Dolores saepe rerum. In eos ut magnam eius. Sint dicta quidem nihil id ipsum ea repellendus ut. Quisquam ipsa labore veritatis quia occaecati temporibus ratione a. Nobis possimus pariatur perspiciatis. Eius tempora distinctio et et accusantium modi aliquid praesentium ut. Ut et quibusdam nesciunt labore.

```html
...
``` ```html
...
``` ### Customization [defaults.css](https://raw.githubusercontent.com/jhildenbiddle/css-device-frames/master/src/application/_defaults.css ':include') ## Roadmap ?> Version 1.x includes support for application frames only. Additional frames (see below) may be added based on interest. Add a ⭐️ [star on GitHub](https://github.com/jhildenbiddle/css-device-frames), 🐦 [tweet](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fjhildenbiddle%2Fcss-device-frames&hashtags=css,developers,frontend) about the project, or create a 💬 [Github issue](https://github.com/jhildenbiddle/css-device-frames/issues) to support the project! - [x] Application frames - [x] macOS theme - [x] Windows theme - [x] Dark theme - [x] Wireframe theme - [x] Borderless theme - [x] Title option - [x] URL option - [x] ` ## Contact & Support - Follow 👨🏻‍💻 **@jhildenbiddle** on [Twitter](https://twitter.com/jhildenbiddle) and [GitHub](https://github.com/jhildenbiddle) for announcements - Create a 💬 [GitHub issue](https://github.com/jhildenbiddle/css-device-frames/issues) for bug reports, feature requests, or questions - Add a ⭐️ [star on GitHub](https://github.com/jhildenbiddle/css-device-frames) and 🐦 [tweet](https://twitter.com/intent/tweet?url=https%3A%2F%2Fgithub.com%2Fjhildenbiddle%2Fcss-device-frames&hashtags=css,developers,frontend) to promote the project - Become a 💖 [sponsor](https://github.com/sponsors/jhildenbiddle) to support the project and future efforts ## License This project is licensed under the MIT License. See the [MIT LICENSE](https://github.com/jhildenbiddle/css-device-frames/blob/master/LICENSE) for details. Copyright (c) John Hildenbiddle ([@jhildenbiddle](https://twitter.com/jhildenbiddle))