摘要: 效果图: background: linear-gradient(to right, red, blue); -webkit-background-clip: text; color: transparent; 转载:https://segmentfault.com/a/11900000118829 阅读全文
posted @ 2020-05-07 12:48 绯颜旧雨 阅读(448) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/Anxc/p/12052909.html 阅读全文
posted @ 2020-05-07 12:46 绯颜旧雨 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 1.indexof array.indexOf();返回正整数或-1 2.includes() array.includes()返回true,false 3.findeIndex() array.findeIndex()返回false和数组下标 转载:https://www.cnblogs.com/ 阅读全文
posted @ 2020-05-07 09:34 绯颜旧雨 阅读(8574) 评论(0) 推荐(0) 编辑
摘要: 取整数 parseInt(); 进1 Math.ceil(); 向下取整 Math.floor(); 四舍五入 Math.round() 阅读全文
posted @ 2020-05-07 09:30 绯颜旧雨 阅读(2979) 评论(0) 推荐(1) 编辑