首页 > Web开发 > 详细

简单的html+css

时间:2014-10-10 00:34:54      阅读:348      评论:0      收藏:0      [点我收藏+]

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>homework</title>
<style type="text/css">
.div1{
width: 291px;
height: 593px;
border: 1px solid black;

}
.div2{
width: 291px;
height: 45px;
background: #4FC0E8;
color: white;
font-weight: bold;
text-align: center;
font-family: Arial;
padding-top: 25px;
}
.div3{
width: 291px;
height: 18px;
background: white;
}
.div4{
float: left;
width: 208px;
height: 83px;
background: #4FC0E8;
color: white;
font-family: Arial;
font-weight: bold;
padding-left:83px;
margin-top: -84px;
line-height: 83px;
}
.div5{
width: 283px;
height: 112px;
background: #4FC0E8;
color: #D9E0FA;
font-weight: bold;
font-family: Arial;
font-size: 10px;
margin-top: -1px;
padding-left: 8px;
text-align: left;
line-height: 16px;
}
.div6{
width: 291px;
height: 235px;
background: #4FC0E8;
}
.div7{
width:150px;
height:47px;
background:#3BAEDA;
margin-left: 65px;
text-align: center;
line-height: 47px;
font-family: Arial;
color: #F0F6F2;
font-weight: bold;
}
</style>
</head>
<body>
<div class="div1">
<div class="div2"> <!-- 第一块蓝色背景模块 -->
LOAD MORE
</div>

<div class="div3"> <!-- 第二块白色背景模块 -->

</div>

<span>
<img src="lb2.jpg"><!-- 喇叭模块 -->
</span>

<div class="div4">
LOREM IPSUM DOLOR
</div> <!-- 喇叭后面的模块 -->

<div class="div5"> <!-- 喇叭下面一段文字模块 -->
Quisque posuere risus erat at scelerisque felis</br>
pulvinar quis.Maecenas arcu lorem,laoreet at</br>
dui in,hendrerit mattis mi.Sed eu vehicula lectus</br>
felis pulvinar quis.Maecenas arcu lorem,laoreet</br>
at posuere risus erat.
<span style="font-size:12px;color:white;font-weight:bolder;text-shadow:white;text-decoration:blink;">Read more
</span> <!-- 文字最后两个单词 -->

</div>

<!-- 大段文字下的空白模块 -->
<div style="width:291px;height:19px;background:white;"></div>

<!-- 空白下WEDNESDAY模块 -->
<div style="width:291px;height:56px;background:#3BAEDA;">
<img src="xq4.jpg">
</div>

<!-- 剩下的全部模块 -->
<div class="div6">
<div style="color:#FCFFFB;font-size:9em;text-align:center;font-family:黑体;font-weight:100;">
26
</div>

<div class="div7">
ADD EVENT
</div>

</div>

</div>
</body>
</html>

简单的html+css

原文:http://www.cnblogs.com/v5daxinshen/p/4014768.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!