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 .

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

查看所有标签

猜你喜欢:

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

改变未来的九大算法

改变未来的九大算法

[美] 约翰.麦考密克 / 管策 / 中信出版社 / 2013-6 / 39.00元

Google得出的搜索结果是如何产生的? 百度为何会陷入“搜索门”,又是什么机制使然? 身处在大数据时代的我们,究竟该如何应对变化莫测的世界? …… 没有满篇的专业术语,第一次让我们通过简单明了的语言、生动的例证了解支撑计算机王国的灵魂支柱——9大算法,包括人工智能、数据压缩,以及Google著名的PageRank等。 本书精彩地介绍了搜索引擎、PageRank、公开......一起来看看 《改变未来的九大算法》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具