Susy 是一个用于创建自定义布局结构的 css 工具集合,它并不提供现成的 className 来给你使用,而是提供 sass 的 function/mixins 来帮助你创建页面的布局结构。
Susy 作为一个 sass 工具库,使用的时候 @import 进来便是,可以使用 npm/bower 来下载。
| import "dart:async"; | |
| void main() { | |
| run(); | |
| } | |
| Future<void> run() async { | |
| int count = 0; | |
| final timer = Timer.periodic(Duration(seconds:1), (timer) { | |
| print(count++); | 
| {"sig":"0ce736f15f981be6f8bd16081ebd4adbd5d3d90ad61ec5af3865079f0722abacdd996399c0940ba711d8bb234e5702a5b5332d1ac474f2ae14795c3a164383271","msghash":"32213167cc4689a6350d08da5a5809d73a9cb655bfb7846aed4222d63960aa3f"} | 
| #!/bin/bash | |
| # 只检查提交的 src 下的 js 文件 | |
| eslint=./node_modules/.bin/eslint | |
| result=0 | |
| for file in `git diff --cached --name-only` | |
| do | |
| if [[ $(echo $file | grep -E "^src\/.*\.js$" | wc -l) -gt 0 ]]; | |
| then | 
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Scroll test</title> | |
| </head> | |
| <body> | |
| <div style="height:1800px"> | |
| hello world | |
| </div> | 
Susy 是一个用于创建自定义布局结构的 css 工具集合,它并不提供现成的 className 来给你使用,而是提供 sass 的 function/mixins 来帮助你创建页面的布局结构。
Susy 作为一个 sass 工具库,使用的时候 @import 进来便是,可以使用 npm/bower 来下载。
| { | |
| "React": "src/React.js", | |
| "ReactVersion": "src/ReactVersion.js", | |
| "ReactComponentWithPureRenderMixin": "src/addons/ReactComponentWithPureRenderMixin.js", | |
| "ReactFragment": "src/addons/ReactFragment.js", | |
| "ReactWithAddons": "src/addons/ReactWithAddons.js", | |
| "LinkedStateMixin": "src/addons/link/LinkedStateMixin.js", | |
| "ReactLink": "src/addons/link/ReactLink.js", | |
| "renderSubtreeIntoContainer": "src/addons/renderSubtreeIntoContainer.js", | |
| "shallowCompare": "src/addons/shallowCompare.js", | 
| @font-face { | |
| font-family: 'iconfont'; | |
| src: url('iconfont.eot'); /* IE9*/ | |
| src: url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | |
| url('iconfont.woff') format('woff'), /* chrome、firefox */ | |
| url('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ | |
| url('iconfont.svg#uxiconfont') format('svg'); /* iOS 4.1- */ | |
| } |