zachacole/Simple-Grid
关于
简洁轻量的 CSS 网格布局。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
探索相关项目
加载中…