<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="css/办公室装修.css"/>
<title></title>
<style>
</style>
</head>
<body>
<div>
<p class="p1">办公室装修领导者</p>
<p class="p2">时尚、前卫、青春</p>
<p class="p3"><span>年轻人当然要</span>不拘一格</p>
</div>
</body>
</html>
link:
*{
padding: 0px;
margin: 0px;
}
div{
height: 400px;
background-image: url(../img/img11.jpg);
}
p{
text-align: center;line-height: 80px;font-size: 45px;
color: white;
}
.p1{
font-size: "宋体";
}
.p2{
font-size: 30px;
}
span{
font-size: 25px; vertical-align: middle;
}