**字体高度**font-size:50px;
**字体加粗**font-weight:100-900;
**斜体**font-style:italic;
**字体(默认字体)**font-family: arial;
color:#ff4400 (transparent) **透明色**
:rgb(0-255,0-255,0-255) 字**体颜色**
border: 1px solid black **给容器加边框**
**粗细 实线**
(dashed)
**条状虚线**
(dotted)
**点状虚线**
**边框粗细** border-width:10px;
**边框实线虚线** border-style:solid;
**边框颜色**border-color:red
**文字居中**text-align:center;
加背景及颜色 background-color:#f35
直角变圆角 border-radius:10-50%;
width:宽 height:高
text-align:像哪边对齐
left:左 top:上 right:右 bottom下 cneter居中
ling-height:单行文本所占高度
tixt-indent:3em;首行文本缩进字数1em=font-size:1px;
line-height:1.2em;文字的行高1.2倍
EM{font style:normal; color:#c00;}
font style:normal 去除em的斜体(所有标签的初始形态)
padding:0;去除标签自带间距
margin:0;去除标签自带空格
*{ padding:0;
margin:0;}初始化所有标签三个值左右等距
padding:复值 上右下左调像素
margin-left:50px;两个标签之间拉开距离
circle 圆形
opacity:0.5;颜色半透明
overflow:hidden;
vertical-align:0px;调一行元素的对其线;
vertical-align:middle;文字对图片中对齐
display:inline-block;文字横向排列
/设置左上角/方形去除圆角
border-top-left-radius:15px;
/设置左下角/
border-bottom-left-radius:15px;
/设置右上角/
border-top-right-radius:15px;
/设置右下角/
border-bottom-right-radius:15px;
border-radius:15px 15px 0 0 上右下左设置圆角
background-image:linear-gradient(to bottom,#f40,#f50),设置背景颜色渐变;
alert 弹出框
text-decoration Line-through= <del> **调价标签** del{ text-decoration:none}**调价标签去掉中划线**
text-decoration:underline;**加下划线** text-decoration:overline;**上划线**
标签加 hover :a:hover{color:#f50}鼠标上去变颜色
cursor:pointer;**鼠标上去变成小手** cursor:help;**鼠标上去变问号** cursor:e-resize;**鼠标上去变拖拽符**
序号 | 鱼的类型 | 价格 |
---|---|---|
1 | 草鱼 | 100 |
2 | 浆水鱼鱼 | 200 |
3 | 食人草鱼 | 1000 |
4 | 青斑鱼 | 2000 |
5 | 老虎鱼 | 3000 |