html
事了了了
这个作者很懒,什么都没留下…
展开
-
encodeURI、encodeURIComponent()、decodeURI()、decodeURIComponent() 详解
这些URI方法encodeURI、encodeURIComponent()、decodeURI()、decodeURIComponent()代替了BOM的escape()和unescape()方法。URI方法更可取,因为它们对所有Unicode符号编码,而BOM方法只能对ASCII符号正确编码。尽量避免使用escape()和unescape()方法。摘自 javascript advanced b转载 2016-03-23 19:48:28 · 410 阅读 · 0 评论 -
img的src如果加载失败后样式的一些解决方案
转载地址:https://bitsofco.de/styling-broken-images/?utm_source=CSS-Weekly&utm_campaign=Issue-206&utm_medium=webBroken images are ugly.But they don’t always have to be. We can use CSS to转载 2016-12-30 14:43:55 · 6865 阅读 · 0 评论