A ridiculously small responsive CSS framework

栏目: IT技术 · 发布时间: 4年前

内容简介: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.

lit :fire:

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

  1. Install lit.css with one of the following:
npm install --save @ajusa/lit
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ajusa/lit@latest/dist/lit.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ajusa/lit@latest/src/lit.css" />
  1. 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

  1. Clone this repository ( https://www.github.com/ajusa/lit )
  2. Make sure you have 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 .

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

国际大学生程序设计竞赛例题解

国际大学生程序设计竞赛例题解

郭嵩山 / 电子工业出版社 / 2006-5 / 32.0

《国际大学生程序设计竞赛例题解1:数论、计算几何、搜索算法专集》可以作为高等院校有关专业的研究生和本科学生参加国际大学生程序设计竞赛的辅导教材,也可作为高等院校有关专业相关课程的教材和教学参考书,也比较适合作为中学青少年信息学奥林匹克竞赛省级及省级以上优秀选手备战信息学奥林匹克竞赛的培训教材及训练题集。一起来看看 《国际大学生程序设计竞赛例题解》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具