Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajusa/lit
World's smallest responsive 🔥 css framework (395 bytes)
https://github.com/ajusa/lit
css css-framework flat lit microframework
Last synced: 3 days ago
JSON representation
World's smallest responsive 🔥 css framework (395 bytes)
- Host: GitHub
- URL: https://github.com/ajusa/lit
- Owner: ajusa
- License: mit
- Created: 2018-01-01T17:00:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-15T16:02:25.000Z (8 months ago)
- Last Synced: 2025-01-22T19:11:13.252Z (10 days ago)
- Topics: css, css-framework, flat, lit, microframework
- Language: CSS
- Homepage: https://ajusa.github.io/lit
- Size: 354 KB
- Stars: 2,004
- Watchers: 42
- Forks: 94
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - ajusa/lit - World's smallest responsive 🔥 css framework (395 bytes) (CSS)
- Awesome-CSS-Resources - lit:
README
# lit 🔥
[![npm](https://img.shields.io/npm/v/@ajusa/lit.svg)](https://www.npmjs.com/package/@ajusa/lit)
[![size](http://img.badgesize.io/https://cdn.jsdelivr.net/npm/@ajusa/lit@latest/src/lit.css?compression=gzip)](https://cdn.jsdelivr.net/npm/@ajusa/lit@latest/src/lit.css)
[![install size](https://packagephobia.now.sh/badge?p=@ajusa/lit)](https://packagephobia.now.sh/result?p=@ajusa/lit)
[![Downloads](https://img.shields.io/npm/dt/@ajusa/lit.svg)](https://www.npmjs.com/package/@ajusa/lit)
a ridiculously small responsive css framework.
I challenged myself to see how small I could go, but preserve everything Skeleton, Milligram, and other micro frameworks have to offer.
## Features
* 12 Column Responsive Grid
* Typography for h1-h6, and body text
* Three types of buttons
* Cards
* Inputs
* Table Stylesand a little bit more...
## util
util is an atomic css addon for lit. It is currently a work in progress, but feel free to check it out at https://ajusa.github.io/lit/docs/util.html
## Getting Started
1. Install lit.css with one of the following:
- NPM: `npm install --save @ajusa/lit`
- CSS3: ``
- CSSNext: ``
2. [Read the Docs](https://ajusa.github.io/lit/) to see usageNote: lit uses PostCSS to transform from CSSNext to CSS3. If you are comfortable outright using CSSNext, you can directly
include the `lit.css` file in the src directory. Otherwise, use the `dist/lit.css` file.## Supported Browsers
lit supports most modern browsers (Chrome, Firefox, Edge, Opera) but it also has impressive support for older browsers.
lit has been tested on Internet Explorer 11 with no issues.## Development Setup
1. Clone this repository (https://www.github.com/ajusa/lit)
2. Make sure you have [npm](https://www.npmjs.com/get-npm) installed
3. Run `npm install` in the root directory of `lit`
4. Once that is completed, run `npm run build` to build the minified version and the gzipped file.
5. If you are making changes live, use `npm run watch`. `watch` will build the minified css file in `./dist` whenever there is a change in `./src/lit.css`.