lightweight, simple, classless CSS framework inspired by new.css devcss.devins.page
framework lightweight css classless stylesheet
17
fork

Configure Feed

Select the types of activity you want to include in your feed.

1# intergrav/dev.css 2 3Extremely simple, small, classless CSS framework in the style of Vercel's Geist. Inspired by [xz/new.css](https://github.com/xz/new.css). 4 5It weighs only **~5kb** and makes any plain HTML file look great. 6 7It has a light and dark theme, and the header turns into a sidebar on wider displays so that you get more vertical space. 8 9## Importing 10 11In your HTML's `<head>` all you have to write is this, and you're done! 12 13```html 14<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@intergrav/dev.css@1"> 15``` 16 17I also recommend adding a font through [intergrav/fonts](https://github.com/intergrav/fonts). Geist or Inter work with dev.css out of the box. It will use the default system/browser san-serif fonts otherwise. 18 19### Geist Font 20 21```html 22<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@intergrav/fonts@1/serve/geist.min.css"> 23``` 24```html 25<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@intergrav/fonts@1/serve/geist-mono.min.css"> 26``` 27 28### Inter Font 29 30```html 31<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@intergrav/fonts@1/serve/inter.min.css"> 32``` 33 34## Themes 35 36You can also use custom colors and fonts in dev.css through themes. See the `/theme` folder to view some premade ones. You can also copy the `boilerplate.css` and make a theme yourself. Simply apply it after the dev.css stylesheet.