摘要:
overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; 阅读全文
摘要:
if (/Android [4-6]/.test(navigator.appVersion)) { window.addEventListener('resize', function () { if (document.activeElement.tagName 'INPUT' || docume 阅读全文
摘要:
.buttons-tab:after { content: ''; position: absolute; left: 0; bottom: 0; right: auto; top: auto; height: 1px; width: 100%; background-color: #d0d0d0; 阅读全文
摘要:
①给父元素添加display:inline-block属性; 阅读全文
摘要:
1.JavaScript插件化开发教程 (一)http://www.jb51.net/article/60419.htm; 2.JavaScript插件化开发教程 (二)http://www.jb51.net/article/60423.htm; 3.JavaScript插件化开发教程 (三)htt 阅读全文
摘要:
原文出自王福朋的博客:http://www.cnblogs.com/wangfupeng1988/p/3768304.html 阅读全文
摘要:
原文出自王福朋的博客:http://www.cnblogs.com/wangfupeng1988/p/3750489.html 阅读全文
摘要:
原文出自王福朋的博客 http://www.cnblogs.com/wangfupeng1988/p/3748514.html 阅读全文
摘要:
/*input框的自动登录的填充颜色*/input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset;}/*去掉ie自带的叉叉和密码显示(ie10+)*/::-ms-clear, ::-ms-reveal{displa... 阅读全文
摘要:
function isPlaceholder(){ var input = document.createElement('input'); return 'placeholder' in input; } if (!isPlaceholder()) {//不支持placeholder 用jquer 阅读全文