摘要: String.prototype.format = function(args) { var result = this; if (arguments.length > 0) { if (arguments.length == 1 && typeof (args) == "object") { fo 阅读全文
posted @ 2016-11-18 19:05 流火行者 阅读(39035) 评论(0) 推荐(1) 编辑
摘要: 1:使用table和table-cell布局 2:使用flex布局 居中效果: 阅读全文
posted @ 2016-11-18 18:30 流火行者 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 运行效果: 阅读全文
posted @ 2016-11-18 16:22 流火行者 阅读(687) 评论(0) 推荐(0) 编辑