- 博客(6)
- 收藏
- 关注
转载 jquery检测图片加载完成
可以检测图片加载,或缓冲$("img").one("load", function() { // do stuff}).each(function() { if(this.complete) $(this).load();});
2017-04-26 10:57:54 432
转载 WOFF2与icon字体化
如今,各浏览器对WOFF的支持都已经比较完善了。如果长期关注字体文件,就会发现现在又多了一个WOFF2的格式。没错,就如其字面意思,就是WOFF2.0。先简单回顾一下主要的web字体文件的格式:.eot ,Embedded Open Type,主要用于早期版本的IE,是其专有格式,带有版权保护和压缩。.ttf ,TrueType,在操作系统里更为常见,在web上使用的话
2017-04-25 10:24:31 3915
转载 input number 无箭头样式
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } input[type="number"]{ -moz-appearance: textfield; }
2017-04-24 12:51:49 2019
转载 input值实时检测
$('#coords').bind('input propertychange', function() { $('#coords').html('还能输入'+$(this).val().length+'个汉字'); });
2017-04-24 12:43:37 1396
转载 pod小问题
CocoaPods中一些问题的解决最近想模仿某个项目中的某个功能做个Demo,用到CocoaPods管理第三方库,期间出现了一些小问题。问题一:通过CocoaPods去导入AFNetworking,执行 pod install –verbose –no-repo-update 终端会有相应的警告:[!] The `aikaaikaComic [D
2016-03-17 17:38:52 565
转载 Installing CocoaPods "Operation not permitted" error
Installing CocoaPods on OS X 10.11These instructions were tested on all betas and the final release of El Capitan.Custom GEM_HOMEThis is the solution when you are receiving the "Operation
2016-03-17 15:20:43 266
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人