HTML5期末大作业
文章目录
一、作品展示
二、文件目录
三、代码实现
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>小米MIX3</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="./js/jquery-3.1.1.min.js"></script>
<style type="text/css">
*{
padding: 0;
margin: 0;
list-style: none;
}
.t1 img{
width: 100%;
height: 800px;
position: relative;
right: 160px;
bottom: 180px;
}
.s1{
width:100%;
height: 460px;
margin: 50px auto;
position: relative;
}
.t1{
width: 100%;
}
.t1 li{
position: absolute;
top: 0;
.zhuche {
position: relative;
left: 600px;
}
.xiaoxi {
position: relative;
left: 600px;
}
h1 {
color: lightgoldenrodyellow