生成网格单位Grunt-pure-grids.zip

时间:2022-08-07 05:17:44
【文件属性】:
文件名称:生成网格单位Grunt-pure-grids.zip
文件大小:8KB
文件格式:ZIP
更新时间:2022-08-07 05:17:44
开源项目 Grunt-pure-grids 能够生成纯网格的自定义单位的插件,它需要使用 Grunt 构建工具。在你的项目的 Grunt 文件中,需要添加一个名为  pure_grids 的数据对象到 grunt.initConfig()中。grunt.initConfig({     pure_grids: {         responsive: {             dest: 'path/to/my-responsive-grid.css',             options: {                 units: 12, // 12-column grid                 mediaQueries: {                     sm: 'screen and (min-width: 35.5em)', // 568px                     md: 'screen and (min-width: 48em)',   // 768px                     lg: 'screen and (min-width: 64em)',   // 1024px                     xl: 'screen and (min-width: 80em)'    // 1280px                 }             }         }     } });这是一个 12 列的纯网格grunt.initConfig({     pure_grids: {         twelveCols: {             dest: 'path/to/my-grid.css',             options: {                 units: 12, //12-column grid             }         }     } }); 标签:Grunt 分享 window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": [], "bdPic": "", "bdStyle": "1", "bdSize": "24" }, "share": {} }; with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' ~(-new Date() / 36e5)];\r\n \r\n \r\n \r\n \r\n \u8f6f\u4ef6\u9996\u9875\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\nwindow.changyan.api.config({\r\nappid: 'cysXjLKDf', conf: 'prod_33c27aefa42004c9b2c12a759c851039' });
【文件预览】:
grunt-pure-grids-master
----.jshintrc(192B)
----Gruntfile.js(2KB)
----tasks()
--------pure_grids.js(865B)
----LICENSE(1KB)
----test()
--------pure_grids_test.js(1KB)
--------expected()
----README.md(5KB)
----.gitignore(31B)
----package.json(1KB)

网友评论