随笔分类 - 兼容
摘要:那就自己写一个trim() String.prototype.trim = function() { return this.replace(/(^\s*)|(\s*$)/g, ""); //正则匹配空格 }
阅读全文
摘要:https://blog.csdn.net/YaoDeBiAn/article/details/85047798
阅读全文
摘要:background-color: rgba(0, 0, 0, .5); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F111111,endColorstr=#7F111111); 第二行的意思就是当上一行的透明
阅读全文
摘要:在使用 document.getElementsByClassName 前加上 if (!document.getElementsByClassName) { document.getElementsByClassName = function (className, element) { var
阅读全文
摘要:html,body{ height: 100%; width: 100%; background: url('../img/bg.png') no-repeat; background-size: 100% 100%; filter:progid:DXImageTransform.Microsoft
阅读全文

浙公网安备 33010602011771号