10 2021 档案

摘要:创建一个父类的构造函数 // 创建一个Animal的构造函数 function Animal(name) { this.name = name || 'Animal' this.sleep = function () { console.log(this.name + " is sleeping") 阅读全文
posted @ 2021-10-14 11:04 STRIVE-PHY 阅读(55) 评论(0) 推荐(0)
摘要:初始样式 已知子盒子宽高 .outside { width: 200px; height: 200px; background-color: red; } .inside { width: 100px; height: 100px; background-color: rgb(231, 255, 1 阅读全文
posted @ 2021-10-11 13:57 STRIVE-PHY 阅读(1563) 评论(0) 推荐(0)