06 2021 档案

摘要:JS实现类的继承和私有变量的实现 关键技术点:闭包的使用 var FClass =(function(){ var _name; class FClass{ constructor(preName,lastName,str){ this.preName=preName; this.lastName= 阅读全文
posted @ 2021-06-17 00:15 gamecc666 阅读(191) 评论(0) 推荐(0)
摘要:代码: <style type="text/css"> .Box{ position: relative; width: 200px; height: 200px; background-color: red; } .Shade{ position: absolute; top: 0; width: 阅读全文
posted @ 2021-06-03 23:53 gamecc666 阅读(231) 评论(0) 推荐(0)