加载中
js获取键盘开关事件

Keyboard will be automatically invoked while you are focusing textfield, textareafield ... . So you can create listener to the focus event in javascript which is similar to list...

2017/11/29 18:40
99
js判断是否浏览器返回

https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigation/type if(performance!=undefined && performance.navigation.type==2){ //do something } Value Const...

2017/11/29 17:59
1.8K
css 阻止页面滚动

$('html').css('overflow','hidden'); $('html').css('height','100%'); $('body').css('overflow','hidden'); $('body').css('height','100%');...

2017/11/29 17:36
807
React-quill React版编辑器

https://zenoamaro.github.io/react-quill/

2017/11/23 23:22
667
php curl不能解析/etc/hosts设置的本地域名

mac os x +php5.6.30版本尝试过下面的参数仍然无效,直接无视/etc/hosts文件的定义,hosts文件权限已经全局可读。 function post_content($url, $data) { $ch = curl_init(); ...

2017/11/22 17:16
3K
css3 奇偶选择器和渐变

奇偶选择 #偶选择2n .tc-col:nth-child(2n) { margin-left:10px; } #奇选择 2n+1 渐变 background-image: linear-gradient(to top,rgba(0, 0, 0, 0.6) 10%, rgba...

css
2017/11/22 11:24
159
ant design pro 系列技术栈

https://pro.ant.design/docs/getting-started-cn ant DEMO https://preview.pro.ant.design antd 各网站入口 手机版组件 https://mobile.ant.design/docs/react/introduce-cn 桌面版 https:...

2017/11/18 15:09
2.8K
reactjs bind()的使用场景

传递附加参数 render: function() { return _.map(list, function(item) { return <li onClick={this.clickItem.bind(this, item)}>{item.name}</li>; }); }, clickItem: fu...

2017/11/14 10:35
130
div垂直居中

css3的方法(如果只用在手机端,足够了) display: -webkit-flex; align-items: center;//子元素垂直居中 justify-content:center;//子元素水平居中 兼容ie8的方法 <div class="father"> ...

2017/11/09 21:32
60
秒的换算:ms(毫秒),μs(微秒),ns(纳秒),ps(皮秒)

1000 毫秒ms = 1秒 1,000,000 微秒μs = 1秒 1,000,000,000 纳秒ns = 1秒 1,000,000,000,000 皮秒ps = 1秒

2017/11/07 22:28
2.7K
html 5 audio 在某些设备上要点两次才播放的问题

html5 audio标签在iPhone 6/6s下要定义proload预加载,点击一次就可以播放,否则会要点两次才能播放。其它设备没有发现这个问题。

2017/11/07 10:13
701
Bootstrap Table Examples

Bootstrap Table 是一款基于bootstrap封装的表格组件,使用起来比较方便。官方文档对服务器端分页表述不是很清楚,查了它的demo,看到接口返回的数据,可以参考一下他的网页源码。此网页源码...

2017/11/03 10:00
866
centos7 安装tomcat成服务启动

centos7之后定义在/etc/rc.local的启动程序已经失效,需要定义成服务启动方式。 cat /etc/systemd/system/tomcat8.service #默认服务的安装路径是 /usr/lib/systemd/system/nginx.service [U...

2017/11/01 23:13
145

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部