摘要: 现象: 父容器 display: -webkit-box; 子容器 float: right; 结果 不显示 原因:尔后分析 阅读全文
posted @ 2012-12-28 10:13 jiangC 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 感觉设计有点不甚合理的地方: 正常使用: $("#some_element").animate({ opacity: 0.25, left: '50px', color: '#abcdef', rotateZ: '45deg', translate3d: '0,10px,0'}, 500,... 阅读全文
posted @ 2012-12-27 15:49 jiangC 阅读(6211) 评论(0) 推荐(0) 编辑
摘要: W3C的一片好文 9 Visual formatting model 9.1 Introduction to the visual formatting model This chapter and the next describe the visual formatting model: h... 阅读全文
posted @ 2012-12-26 19:07 jiangC 阅读(384) 评论(0) 推荐(0) 编辑
摘要: css class names best practices What Makes For a Semantic Class Name? 多多关注一下下面的评论 CSS Styleguide CSS Semantics: Best Practices 阅读全文
posted @ 2012-12-26 19:01 jiangC 阅读(194) 评论(0) 推荐(0) 编辑
摘要: display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;webkit 下的比较不错的解决方案 阅读全文
posted @ 2012-12-26 16:51 jiangC 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1. 下面代码alert的内容 function tr42(){ var a2, b2; a2 = {"c": 1}; b2 = a2; a2.c = 2; alert(b2.c); a2 = {"c": 3}; alert(b2.c); a2.c = 4; a... 阅读全文
posted @ 2012-12-26 10:23 jiangC 阅读(521) 评论(1) 推荐(0) 编辑
摘要: $(document).ready(function() { //all your code goes here... }); ready: (function() { ... //Mozilla, Opera, and Webkit if (do... 阅读全文
posted @ 2012-12-26 10:20 jiangC 阅读(165) 评论(0) 推荐(0) 编辑
摘要: JavaScript Regular Expressions http://www.advanced-javascript-tutorial.com/RegularExpressions.cfm#Regular-Expression-Syntax Regular Expressions are po... 阅读全文
posted @ 2012-11-24 23:56 jiangC 阅读(1171) 评论(0) 推荐(0) 编辑
摘要: 层叠上下文(The stacking context) 原文地址https://developer.mozilla.org/en-US/docs/CSS/Understanding_z-index/The_stacking_context?redirectlocale=en-US&redirects... 阅读全文
posted @ 2012-11-15 23:22 jiangC 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 3ks 华雷 第一步: 注册npm帐号:https://npmjs.org/ 第二步: 生成必要模块描述文件package.json ,readme package.json详解 { "name": "http-server", "preferGlobal": "true", ... 阅读全文
posted @ 2012-11-02 16:43 jiangC 阅读(644) 评论(0) 推荐(0) 编辑