摘要: 阅读全文
posted @ 2020-08-25 17:28 xienh 阅读(136) 评论(0) 推荐(0) 编辑
摘要: CSS3 transform是什么? transform的含义是:改变,使…变形;转换 CSS3 transform都有哪些常用属性? transform的属性包括:rotate() / skew() / scale() / translate(,) ,分别还有x、y之分,比如:rotatex() 阅读全文
posted @ 2016-02-24 15:04 xienh 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 所以,如果你希望生成1到任意值的随机数,公式就是这样的: // max - 期望的最大值parseInt(Math.random()*max,10)+1;Math.floor(Math.random()*max)+1;Math.ceil(Math.random()*max); 如果你希望生成0到任意 阅读全文
posted @ 2016-02-24 15:00 xienh 阅读(605) 评论(0) 推荐(0) 编辑
摘要: substr 方法返回一个从指定位置开始的指定长度的子字符串。stringvar.substr(start [, length ])参数stringvar:必选项。要提取子字符串的字符串文字或 String 对象。start:必选项。所需的子字符串的起始位置。字符串中的第一个字符的索引为 0。len 阅读全文
posted @ 2016-02-24 14:58 xienh 阅读(5590) 评论(0) 推荐(0) 编辑
摘要: 在jquery是遍历筛选数组有多种方法与函数了,包括有:grep、each、inArray、map同时也要以遍历json对象哦,下面给各位同学介绍一下具体的操作方法 阅读全文
posted @ 2016-02-19 17:15 xienh 阅读(2515) 评论(0) 推荐(0) 编辑
摘要: React 入门实例教程,分成12布由易到难充分体现出React的基础知识(原作者:阮一峰) 阅读全文
posted @ 2016-02-17 11:54 xienh 阅读(256) 评论(1) 推荐(0) 编辑
Copyright © 2018 xienh