first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
text-decoration: none; 去除a标签的下划线
font-family
line-height 设置行高
设置单行文字的 垂直对齐, 数值和父元素高度一样
text-align: center;
设置水平方向的对其方式
注意:
line-height
text-align
div内部,行内标签设置文字(div内部的文字)对齐
块标签 内部 块标签 要居中的时候
margin: 0 auto
font-weight 加错
letter-spacing 设置字符间距
text-shadow: x轴偏移 y轴偏移 阴影模糊度 阴影颜色; 文字阴影
box-shadow: 盒子阴影 一般给块标签设置的
border: none; 去除边框
outline: none; 去除外边框
border-radius 圆角
background-attachment: fixed; 背景图不随页面滚动
overflow: scroll; hidden 决定超过父元素的部分如何显示
float 浮动 让元素放一行
子元素设置浮动后,父元素就会没有高度,解决方案:
手动设置height
overflow: hidden;
clear: both;