摘要: NESTED MEDIA QUERIESOur stylesheet contains a responsive breakpoint with some alterations to.factory. Let's clean up the media query a bit by nesting ... 阅读全文
posted @ 2014-09-17 21:12 Zhentiw 阅读(293) 评论(0) 推荐(0) 编辑
摘要: ARITHMETIC ITo ensure consistent spacing between columns, our stylesheet has a reusable$guttervariable. Subtract the width values in.factoryand.highri... 阅读全文
posted @ 2014-09-17 20:43 Zhentiw 阅读(323) 评论(0) 推荐(0) 编辑
摘要: FUNCTIONSWe need to find the height of video containers given a width and a 16:9 aspect ratio. To avoid doing the math manually each time, create a fu... 阅读全文
posted @ 2014-09-17 17:20 Zhentiw 阅读(311) 评论(0) 推荐(0) 编辑
摘要: The link:https://www.firebase.com/docs/android/quickstart.html 阅读全文
posted @ 2014-09-17 05:04 Zhentiw 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1.Installing Firebase 2.Accessing DataYou'll need areferenceto access data inside your Firebase.A core concept of Firebase is thatevery pie... 阅读全文
posted @ 2014-09-17 05:01 Zhentiw 阅读(333) 评论(0) 推荐(0) 编辑
摘要: MOBILE WEB DEMOSet thebodyfont-sizeusing relative sizing so that 1em = 10px. Remember, the default font-size for a browser is 16px.body {font-size: 62... 阅读全文
posted @ 2014-09-17 02:21 Zhentiw 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Better use @extend with % placeholder.Extend is useful when you want to reuse some of you class. Always use % placeholder.EXTEND IIt looks like.bluepr... 阅读全文
posted @ 2014-09-17 01:46 Zhentiw 阅读(413) 评论(0) 推荐(0) 编辑
摘要: When to use MIXIN?Better way to use MIXIN is when you deal with browser prefiex, for example:@mixin transition($val...){ -webkit-transition: $val; ... 阅读全文
posted @ 2014-09-17 01:21 Zhentiw 阅读(340) 评论(0) 推荐(0) 编辑