只需要每个选择器之间用,隔开
.class_a , .class_b{
text-decoration: none;
color: #474747;
}这东西都能忘记,10年未写前端了?
//构造函数 function Box(name,age){ this.name=name; this.age=age; this.run=function(){ return this.name+'--'+this.age; } } var&nbs...
var的作用域是全局的,let的作用域是块级的,直接看代码(其他的小区别忽略):<script type="text/javascript"> for (var a = ...
基本结构:箭头函数左边是参数,右边是返回值//创建func函数let func = num => num;//上面的func函数等价于let oldFunc = function (num) {...
js生成二维码(1).下载二维码类库https://github.com/davidshimjs/qrcodejs(2).引入类库<script type="text/javascript" src="//static.runoob.com/a...
备份代码:这个表示当前页面每5秒钟刷一下,刷一下~ <meta http-equiv="refresh" content="5"> 这个表示当前页面2秒后跳到首页~ <meta http-equiv=&quo...