Simple-Grid

A simple, lightweight CSS grid

  • 所有者: zachacole/Simple-Grid
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Simple Grid

A lightweight, responsive CSS grid

Developed by Zach Cole

Simple Grid and Simple Code

Simple Grid is a mobile-first 12-column CSS grid system to make developing responsive websites easy and fast.

All the code you need is simple and familiar. A parent container class contains the grid. Within the container are rows. Row classes denote rows of content, which can be filled with up to 12 columns. Columns must be nested within a row.

To define your column width, declare how many columns you want your content to take up on desktop and large screens. For example, if your content should take up 6 out of 12 columns (or half the container), your class name will be .col-6.

If you don’t want columns to expand on mobile devices and small screens, simply add -sm to the end of your column class name. For example, if you want to have two blocks of content floating side-by-side on small screens, each would be given the class name .col-6-sm.

Update: Grid styles are now available in SASS/SCSS. Hooray! Thanks to shankariyerr for contributing as well.

Learn more and see code samples at: http://simplegrid.io

License

Open source under the MIT License.

主要指标

概览
名称与所有者zachacole/Simple-Grid
主编程语言CSS
编程语言CSS (语言数: 1)
平台
许可证
所有者活动
创建于2016-04-09 22:54:37
推送于2024-01-30 01:10:04
最后一次提交2016-05-19 16:23:46
发布数0
用户参与
星数884
关注者数29
派生数118
提交数17
已启用问题?
问题数16
打开的问题数12
拉请求数3
打开的拉请求数5
关闭的拉请求数8
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?