1、写出边框的点线、实线、虚线、双实线。
实线solid 点线dotted 虚线Dashed 双实线double
2、设置背景颜色为白色,透明度为0.2
Background-color:white;
Opacity:0.2;
3、表格合并行、合并列
Rowspan colspan
4、设置圆角
Border-radius:10px 0px 0px 5px;
5、写出四种伪类元素
:visited :hover :after :link :before
6、写出五种定位
Position:relative absolute fixed static sticky
7、2D转换中的缩放、倾斜 scale skew
8、线性渐变:linear-gradient
径向渐变:radial-gradient
9、五大兼容性:
①opacity:0.5;
②-moz-html:0.5;
③filter:alpha(opacity=50);
④-khtml-opacity:0.5;
⑤-webkit-opacity:0.5;
10、写出HTML的框架
<!DOCTYPE html>
<html>
<head>
<meta charset=”UTF-8”>
<title></title>
</head>
<body>
</body>
</html>
11、设置过渡为5S,速度为慢速
Transition:ease-in-out 5s;
12、取消A标签的默认下划线
Text-decoration:none;
13、隐藏元素的三种方法
Display:none;
Visibility:hidden;
Opacity:0;
14、设置字体大小为30px,样式为宋体,倾斜
Font-size:30px;
Font-style:italic;
Font-family:”宋体”;
15、获取元素的 六种方式
Document.getElementById();
Document.getElementsByTagName()[0];
Document.getElementsByClassName()[0];
Document.getElementsByName()[0];
Document.querySelector();
Document.querySelectorAll()[0];