摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv 阅读全文
posted @ 2020-07-12 18:17 JasonWangTing 阅读(162) 评论(0) 推荐(0)
摘要: display属性值: 常用的大的分类值:block inline inline-block <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=dev 阅读全文
posted @ 2020-07-12 17:47 JasonWangTing 阅读(146) 评论(0) 推荐(0)
摘要: CSS盒子模型:只针对block元素或者inline-block元素,也就是可以设置size的元素 在元素上设置的height和width是作用在内容区域的。 background作用在contect + padding的区域。 盒子模型的size是content + padding + borde 阅读全文
posted @ 2020-07-12 17:33 JasonWangTing 阅读(146) 评论(0) 推荐(0)
摘要: table布局历史久远,现在已经很少使用,但是因为table本身的一些特性,比如上下对齐,左右对齐,文字默认居中使得table布局在处理一些规范的布局时还是很有用的,另外,通过table布局也正好可以学习一下table的使用方式。 <!DOCTYPE html> <html lang="en"> < 阅读全文
posted @ 2020-07-12 14:39 JasonWangTing 阅读(5145) 评论(0) 推荐(0)