ajusa/lit
关于
世界上最小的响应式 🔥 CSS 框架(395 字节)
网站与应用开发可以做什么
- 12 Column Responsive Grid
- Typography for h1-h6, and body text
- Three types of buttons
实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- +1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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 Styles
and 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
- Install lit.css with one of the following:
- NPM:
npm install --save @ajusa/lit - CSS3:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ajusa/lit@latest/dist/lit.css" /> - CSSNext:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ajusa/lit@latest/src/lit.css" />
- Read the Docs to see usage
Note: 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
- Clone this repository (https://www.github.com/ajusa/lit)
- Make sure you have npm installed
- Run
npm installin the root directory oflit - Once that is completed, run
npm run buildto build the minified version and the gzipped file. - If you are making changes live, use
npm run watch.watchwill build the minified css file in./distwhenever there is a change in./src/lit.css.
探索相关项目
加载中…