摘要:
1.当前地址:http:xxxx.com?type=1&area=2; 2.获取当前地址代码 var Url_url = { GetRequest : function(strName) { var strHref = window.location.href; var intPos = strHr 阅读全文
摘要:
ios: -webkit-user-select:none;-ms-user-select: none;-moz-user-select: none;user-select: none;-webkit-touch-callout:none;-ms-touch-callout:none;-mozt-t 阅读全文
摘要:
var s_l = $('.singer-v-list dl');$.each(s_l, function() { var _text = $(this).find('dd'), _maxtext = 30; if (_text.text().length > _maxtext) { _text.t 阅读全文
摘要:
<!-- 声明文档 --> <meta charset='utf-8'> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> //指示IE以目前可用的最高模式显示内容 <!-- SEO 优化 --> <meta name="descript 阅读全文
摘要:
1.1.html部分: 资讯 产品 实战 讨论 2..footer{height:2.5rem; position:fixed; left:0; bottom:0; width:100%; display... 阅读全文
摘要:
移动端经常遇到的一些小总结,方便·以后使用: 1.关闭iOS键盘首字母自动大写 IOS的机子,默认英文输入法状态下,首字母是自动大写的,autocapitalize的属性可以实现关闭首字母大写: 2.关闭iOS输入自动修正 和英文输入默认自动首字母大写那样,IOS做一个功能,默认输入法会开启自动修... 阅读全文
摘要:
1.html 点击1 点击2 点击32.cssbody { font-family: "Verdana", sans-serif; background-color: #eee; padding: 50px; font... 阅读全文
摘要:
1.css reset/* reset 重置样式,清除浏览器默认样式,并配置适合设计的基础样式(强调文本是否大多是粗体、主文字色,主链接色,主字体等)。*/html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,fi... 阅读全文
摘要:
1.html: x logo 某某公司 某某公司宗旨 ... 阅读全文
摘要:
1.js代码:var checkPlat={ isAndroid: function (ua) { ua = ua || navigator.userAgent; return ua.toLowerCase().indexOf('android') > -1; ... 阅读全文