2020年4月2日

【js】JS Unicode编码和解码(6种方法)

摘要: JavaScript 编码和解码方法方法说明 方法 说明 escape() 使用转义序列替换某些字符来对字符串进行编码 unescape() 对使用 escape() 编码的字符串进行解码 encodeURI() 通过转义某些字符对 URI 进行编码 decodeURI() 对使用 encodeUR 阅读全文

posted @ 2020-04-02 17:35 smile轉角 阅读(6411) 评论(0) 推荐(0) 编辑

【css】 css中换行

摘要: 容易混淆的几个换行属性 word-break:break-all;/* 单词内换行 */ word-wrap:break-word;/* 以单词/网址/换行 */ white-space:pre-wrap;/* 保留空白 */ white-space:nowrap; /* 不换行 */ <!DOCT 阅读全文

posted @ 2020-04-02 16:44 smile轉角 阅读(430) 评论(0) 推荐(0) 编辑

导航