摘要: 实现 LazyMan 题目描述: 实现一个LazyMan,可以按照以下方式调用: LazyMan(“Hank”)输出: Hi! This is Hank! LazyMan(“Hank”).sleep(10).eat(“dinner”)输出 Hi! This is Hank! //等待10秒.. Wa 阅读全文
posted @ 2022-09-13 11:41 hellocoder2029 阅读(83) 评论(0) 推荐(0)
摘要: position的属性有哪些,区别是什么 position有以下属性值: | 属性值 | 概述 | | | | | absolute | 生成绝对定位的元素,相对于static定位以外的一个父元素进行定位。元素的位置通过left、top、right、bottom属性进行规定。 | | relativ 阅读全文
posted @ 2022-09-13 11:38 hellocoder2029 阅读(133) 评论(0) 推荐(0)