【文件属性】:
文件名称:type.css:移动优先的响应式量表
文件大小:37KB
文件格式:ZIP
更新时间:2021-06-26 21:13:09
CSS
类型
A Mobile-first type scale 将任何元素设置为任何断点所需的字体大小。 基类名称跨三个断点命名:
-ns = 不小(涵盖所有比手机大的东西)
-m = 中等
-l = 大
安装
npm install type.css --save-dev
或在 github 上下载 css 并包含在您的项目中。
.f1 { font-size: 5rem; }
.f2 { font-size: 2.7rem; }
.f3 { font-size: 1.5rem; }
.f4 { font-size: 1rem; }
.f5 { font-size: 1rem; }
.f6,
.small { font-size: .85rem; }
@media screen and (min-width: 48em) {
.f1-ns { fo
【文件预览】:
type.css-master
----package.json(1KB)
----svg()
--------twitter.svg(541B)
--------octocat.svg(2KB)
----type.min.css(618B)
----gulpfile.js(3KB)
----type.css(915B)
----README.md(2KB)
----site()
--------_tachyons.scss(73KB)
--------site.scss(76B)
--------site.min.css(4KB)
--------site.css(74KB)
--------_styles.scss(830B)
----index.html(10KB)