2022年3月10日

弹性盒子——(flex,align-xxx,justify-content)样式,定位,换行

摘要: ###前提 把display: flex的div容器叫做flexBox,被浮动的叫做flexItem ###样式————宽度——flex 属性是 flex-grow、flex-shrink 和 flex-basis 属性的简写 语法:felx: grow|shrink|basis ; //任选一个而 阅读全文

posted @ 2022-03-10 22:05 In-6026 阅读(211) 评论(0) 推荐(0)

列表——集大成的list-style(ol,ul,li)

摘要: ###综述 list-style 简写属性在一个声明中设置所有的列表属性。 可以设置的属性: list-style-type, list-style-position, list-style-image. 可以不设置其中的某个值,比如 "list-style:circle inside;" 也是允许 阅读全文

posted @ 2022-03-10 20:40 In-6026 阅读(390) 评论(0) 推荐(0)

字体——集大成的font(倾斜,大小写,粗细,大小,行高,字体)

摘要: font 简写属性在一个声明中设置所有字体属性。 可设置的属性是(按顺序): "font-style font-variant font-weight font-size/line-height font-family" (样式 变种 粗 大小/行高 字体) font-size和font-famil 阅读全文

posted @ 2022-03-10 19:11 In-6026 阅读(481) 评论(0) 推荐(0)

导航