实训三 项目10 简易灯箱画廊
一、页面文字素材:
无
二、代码:
<!--prj_3_1.html-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>简易灯箱画廊</title>
<style>
body{
text-align: center;
}
.div1{
width: 1800px;
height: 1350px;
margin: 0px auto;
text-align: center;
background-color: orange;
}
ul{
margin: 0 auto;
width: 800px;
list-style-type: none;
height: 120px;
}
li{
float: left;
width: 110px;
height: 90px;
margin: 10px;
}
img{
border: 0;
width: 110px;
height: 80px;
}
h3{
font-size: 24px;
color: coral;
padding: 10px auto;
}
a{color: #ffffff;text-decoration: none;}
a:link,a:visited,a:active{color: #0033cc;}
a:hover{border-bottom: 4px solid #FF0000;}
</style>
</head>
<body>
<embed