摘要: # 一、一个类的直接父类只能有唯一一个 Class B extends A, C{ } //这是错误的,只能有一个直接父类 点击查看代码 二、Java可以多极继承,举例如下: Class B extends A{ } Class C extends B{ } 三、一个子类的直接父类是唯一的,但是一个 阅读全文
posted @ 2022-05-22 20:08 kylinGG 阅读(87) 评论(0) 推荐(0)
摘要: 解决高度塌陷和边界重叠问题 .clearfix::before, .clearfix::after{ content: ""; display: table; clear: both; } 阅读全文
posted @ 2022-05-22 15:39 kylinGG 阅读(25) 评论(0) 推荐(0)
摘要: 在父元素中开启bfc,使用方法: overflow: hidden 阅读全文
posted @ 2022-05-22 11:58 kylinGG 阅读(29) 评论(0) 推荐(0)
摘要: ![image](https://img2022.cnblogs.com/blog/2829412/202205/2829412-20220522090717741-497671147.png) ![image](https://img2022.cnblogs.com/blog/2829412/202205/2829412-20220522090733719-1890073997.png) 阅读全文
posted @ 2022-05-22 09:30 kylinGG 阅读(21) 评论(0) 推荐(0)