Jeet

可用于 Sass 或 Stylus 的最先进、最直观的网格系统。「The most advanced, yet intuitive, grid system available for Sass or Stylus」

Github星跟踪图



Jeet 7.0.0 is here!

7.0.0 breaks a lot of stuff. Be sure to read the migration guide!

Jeet is a simple fractional grid system for Sass and Stylus.

Learn the API in minutes and begin tossing together grids.

Check this out:

npm install -D jeet
@import 'node_modules/jeet/jeet';

.container {
  @include center();
}

.container div {
  @include column(1/3);
}

Jeet functions accept fractions (or float numbers) and generates a percentage width and gutter for grids. We're able to do this while maintaining a consistently-sized, infinitely-nestable, gutter (so long as you provide the parent element's fraction as context).

The API is documented in Sass, but we've worked hard to make the API very similar in both preprocessors. @include column(1/2); in SCSS would be column(1/2) in Stylus, ya dig?

Explore Official Integrations to see some community-backed plugins to your favorite frameworks and libraries.

Browser Support

  • IE9+ without help. IE8+ with Selectivizr. Obviously always use Autoprefixer.

主要指标

概览
名称与所有者mojotech/jeet
主编程语言CSS
编程语言CSS (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2012-12-11 21:01:06
推送于2017-09-05 00:36:13
最后一次提交2017-09-05 02:24:43
发布数22
最新版本名称7.2.0 (发布于 )
第一版名称v2.0 (发布于 )
用户参与
星数3k
关注者数117
派生数247
提交数563
已启用问题?
问题数376
打开的问题数11
拉请求数114
打开的拉请求数1
关闭的拉请求数43
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?