定制 jaredhowland/rhythm 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jaredhowland/rhythm

最新稳定版本:1.2.0

Composer 安装命令:

composer require jaredhowland/rhythm

包简介

Sass files to create mobile-first responsive websites with vertical rhythm based on modular scales

README 文档

README

Rhythm is a small set of Sass files built to assist in creating mobile-first, responsive websites with vertical rhythm using modular scales.

Installation

Rhythm is available as a Bower package, a Composer package, and as a manual download.

Bower

  1. If needed, install Bower
  2. Run the following command: bower install jaredhowland/rhythm

Composer

  1. If needed, install Composer
  2. Add the following to your composer.json file:
"require": {
  "jaredhowland/rhythm": "~1.0"
}

Manual Installation

  1. Download the latest .zip file.
  2. Extract into your project.

Usage

Import Rhythm

@ import "path/to/rhythm";

Basics

Any time you want to change a font-size, line-height, padding, or margin, use Rhythm instead:

p {
  @include font-size(18px);
}

h2 {
  @include line-height($h2, 2); // Double the computed line height for font-size `h2`
}

h1 {
  @include padding(2 0 1); // Double top padding, no side padding, and single line-height bottom padding
}

ul {
  @include margin(1); // Single line-height margin size around entire element
}

Full details can be found on the documentation site.

统计信息

  • 总下载量: 43
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 4
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-13