1.<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
解释:宽度为设备的宽度,默认比例1:1,最大缩放比例1:1,不允许用户缩放。
2.<meta name="format-detection" content="telephone=no">
禁止手机号码特殊显示
<meta name="format-detection" content="mail=no">
禁止邮件地址特殊显示
3.loading旋转
animation:xuanzhuan 1.2s linear infinite;
/**新的css,文件名donghua**/
@donghua xuanzhuan{
0%{transform:rotate(0)}
100%{transform:rotate(360deg)}
}
4.画面缩放事件
window.onresize=fuction(){
}
5.判断一个object对象是否为数组
object instanceof Array
6.将一个对象转换为数组
Array.prototype.slice.apply(object )
7.JavaScript只有一种数字类型
8.==和===的区别
浙公网安备 33010602011771号