# intergrav/dev.css [![NPM Version](https://img.shields.io/npm/v/@intergrav/dev.css)](https://www.npmjs.com/package/@intergrav/dev.css) [![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/@intergrav/dev.css)](https://cdn.jsdelivr.net/npm/@intergrav/dev.css/) [![Discord](https://img.shields.io/discord/1262738186338308126?logo=discord&logoColor=%23fff&color=%235865F2)](https://discord.gg/m5tUgaM3uK) [![GitHub Repo stars](https://img.shields.io/github/stars/intergrav/dev.css)](https://github.com/intergrav/dev.css) dev.css is a tiny, simple, classless CSS framework inspired by Vercel's [Geist](https://vercel.com/geist) design system. It is designed to make any plain HTML file look clean and modern. The minified stylesheet weighs only **~5.9kb** and includes both light and dark themes. You can find the website at devcss.devins.page, which contains a demo page.
Click to view preview dev.css desktop demo, light mode dev.css desktop demo, dark mode dev.css mobile demo, light mode dev.css mobile demo, dark mode
## Who is this for? dev.css is a great choice for: - A simple blog - A simple "about me" website - Collecting your most used links - Prototyping your raw HTML dev.css was not meant for very complex websites. An example of a site that uses dev.css is [SkywardMC's wiki](https://skywardmc.org). ## Importing To use dev.css in your HTML, simply add the following line to the `` section of your HTML file: ```html ``` You can also load a font from [intergrav/fonts](https://github.com/intergrav/fonts#readme) (or anywhere else) if you'd like a consistent font. Geist and Inter fonts work with dev.css out of the box, other fonts will require a theme to be used. If these fonts are not available, the default system/browser sans-serif and monospace fonts will be used, such as Microsoft's Segoe UI or Apple's San Francisco. ## Elements and Structure dev.css takes advantage of semantic HTML elements. Here are some guidelines on how to use them for the best results. ### Header It's recommended that you add a header to your page. To add one, place a `
` tag at the top of your ``. You can use an `

` tag as your website's title. You can also add a `

` element as an optional short description of the site. If you want to add a traditional navigation element, you should lay out your `