上一页 1 ··· 480 481 482 483 484 485 486 487 488 ··· 491 下一页
摘要: 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 阅读(420) 评论(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 阅读(352) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-09-09 21:24 Zhentiw 阅读(33) 评论(0) 推荐(0)
摘要: $(document).ready(function(){ // Get Weather $('button').on('show.weather', function() { var results = $(this).closest('li').find('.results'); results 阅读全文
posted @ 2014-08-22 04:00 Zhentiw 阅读(285) 评论(0) 推荐(0)
摘要: $.map function will return the modifies array. $.each function will not new a new array, the old value will still be the same. detach() funciton will 阅读全文
posted @ 2014-08-22 01:11 Zhentiw 阅读(280) 评论(0) 推荐(0)
摘要: #self aside li{ list-style-type: none;padding:5px;border-bottom: 1px solid #ccc;} #self aside li:last-child{border:0;} To remove last li's border; 阅读全文
posted @ 2014-08-14 04:34 Zhentiw 阅读(275) 评论(0) 推荐(0)
摘要: Important things to remember: 1. Usually, we create Collection, CollectionViews, Model, View. Collection <--> CollectionViews Moel <--> View 2. Applic 阅读全文
posted @ 2014-08-14 03:39 Zhentiw 阅读(218) 评论(0) 推荐(0)
摘要: Let's take a closer look at how a browser retrieves and acts on scripts.modern browser can parallel downloading 6 files(style sheets && images)at a ti 阅读全文
posted @ 2014-08-12 20:42 Zhentiw 阅读(252) 评论(0) 推荐(0)
摘要: /** Improve you loop code */ var treasureChest = { goldCoins: 10000, magicalItem : "Crown of Speed", necklaces: ["ruby", "pearl", "sapphire", "diamond 阅读全文
posted @ 2014-08-12 20:26 Zhentiw 阅读(219) 评论(0) 推荐(0)
摘要: Refactor the spacing between <header>, <article>, and <aside> so that elements will have a 20px margin above and below, regardless of their order on t 阅读全文
posted @ 2014-08-11 04:43 Zhentiw 阅读(168) 评论(0) 推荐(0)
上一页 1 ··· 480 481 482 483 484 485 486 487 488 ··· 491 下一页