上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: CSS代码: .clarendon-filter { filter: contrast(1.2) saturate(1.35); display: inline-block; position: relative; } .clarendon-filter::before { content: ''; 阅读全文
posted @ 2019-07-15 17:17 web前端参天大圣 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1. 去除HTML字符串的换行和注释 首先测试HTML如下,放在一个自定义的script模板中: 我们平常为了便于阅读,同时维护方便,HTML模板是包含缩进和注释的,但是实际解析和这些是不需要的,需要删除,处理字符串正则替换这种方法以外,还可以试试使用浏览器原生的一些DOM API方法,例如DOMP 阅读全文
posted @ 2019-07-15 15:47 web前端参天大圣 阅读(2817) 评论(0) 推荐(0) 编辑
摘要: function ipToint(ip){ if(!ip || ip.length==0){return;} var ip = ip.split("."); ip = Number(ip[0]) * 256 * 256 * 256 + Number(ip[1]) * 256 * 256 + Numb 阅读全文
posted @ 2019-07-12 17:27 web前端参天大圣 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-05 16:27 web前端参天大圣 阅读(710) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html ><html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title 阅读全文
posted @ 2019-06-29 13:55 web前端参天大圣 阅读(566) 评论(0) 推荐(0) 编辑
摘要: <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script><script type="text/javascript"> //获取客户端公网IP alert(returnCitySN["cip"]+','+returnCitySN["cn 阅读全文
posted @ 2019-06-28 17:19 web前端参天大圣 阅读(4221) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2019-06-25 12:02 web前端参天大圣 阅读(114) 评论(0) 推荐(0) 编辑
摘要: <html><head> <meta name="layout" content="main"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" 阅读全文
posted @ 2019-06-25 11:33 web前端参天大圣 阅读(1728) 评论(0) 推荐(0) 编辑
摘要: 使用方法 阅读全文
posted @ 2019-06-24 17:58 web前端参天大圣 阅读(640) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css"> /* 设置提示文字颜色 */ ::-webkit-input-placeholder { color: #838383; } :-moz-placeholder { color: #838383; } .placeholder { color: #cc 阅读全文
posted @ 2019-06-24 11:29 web前端参天大圣 阅读(216) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页