html+css的简单界面实现
2014-10-12 21:55
603 查看
<!DOCTYPE html>
<html>
<head>
<title>homework1</title>
<meta charset="utf-8">
<style type="text/css">
.main{
width: 346px;
height: 417px;
margin: auto;
background-color: white;
border: solid 1px black;
}
.div1{
width: 346px;
height: 101px;
background-color: #4FC0E8;
border-bottom:solid 3px #39B0D8;
}
.div2{
width: 346px;
height: 235px;
}
.div2-1{
width: 137px;
height: 137px;
background-color: #4FC0E8;
border-radius: 70px;
position: relative;
left: 103px;
top: -104px;
border-bottom:solid 3px #39B0D8;
}
.div2-1-1{
width: 69px;
height: 69px;
margin: auto;
padding-top: 28px;
}
.div2-2{
color: #4AB8ED;
font-size: 18px;
font-family: arial;
font-weight: 500;
margin-top: -80px;
margin-left:78px;
}
.div2-3{
color: #C2C6C9;
font-size: 15px;
font-family: arial;
line-height: 22px;
margin-top: 13px;
margin-left:17px;
}
.div3{
width: 225px;
height: 75px;
background-color: #4FC0E8;
border-bottom:solid 3px #39B0D8;
color: #F4FFFA;
font-weight: 600;
font-family: arial;
font-size: 18px;
padding-left: 121px;
line-height: 75px;
}
</style>
</head>
<body>
<div class="main">
<div class="div1">
</div>
<div class="div2">
<div class="div2-1">
<div class="div2-1-1">
<img src="1.jpg">
</div>
</div>
<div class="div2-2">
LOREM IPSUM
DOLOR
</div>
<div class="div2-3">
Quisque posuere risus erat at scelensque felis pulvinar quis.Maecenas arcu lorem,laoreet at dui in,jendrent mattis mi.Sed eu vehicula lectus felis pulvinar quis.Maecemas arcu lorem,laoreet at posuere risus erat.
</div>
</div>
<div class="div3">
LOAD MORE
</div>
</div>
</body>
</html>
<html>
<head>
<title>homework1</title>
<meta charset="utf-8">
<style type="text/css">
.main{
width: 346px;
height: 417px;
margin: auto;
background-color: white;
border: solid 1px black;
}
.div1{
width: 346px;
height: 101px;
background-color: #4FC0E8;
border-bottom:solid 3px #39B0D8;
}
.div2{
width: 346px;
height: 235px;
}
.div2-1{
width: 137px;
height: 137px;
background-color: #4FC0E8;
border-radius: 70px;
position: relative;
left: 103px;
top: -104px;
border-bottom:solid 3px #39B0D8;
}
.div2-1-1{
width: 69px;
height: 69px;
margin: auto;
padding-top: 28px;
}
.div2-2{
color: #4AB8ED;
font-size: 18px;
font-family: arial;
font-weight: 500;
margin-top: -80px;
margin-left:78px;
}
.div2-3{
color: #C2C6C9;
font-size: 15px;
font-family: arial;
line-height: 22px;
margin-top: 13px;
margin-left:17px;
}
.div3{
width: 225px;
height: 75px;
background-color: #4FC0E8;
border-bottom:solid 3px #39B0D8;
color: #F4FFFA;
font-weight: 600;
font-family: arial;
font-size: 18px;
padding-left: 121px;
line-height: 75px;
}
</style>
</head>
<body>
<div class="main">
<div class="div1">
</div>
<div class="div2">
<div class="div2-1">
<div class="div2-1-1">
<img src="1.jpg">
</div>
</div>
<div class="div2-2">
LOREM IPSUM
DOLOR
</div>
<div class="div2-3">
Quisque posuere risus erat at scelensque felis pulvinar quis.Maecenas arcu lorem,laoreet at dui in,jendrent mattis mi.Sed eu vehicula lectus felis pulvinar quis.Maecemas arcu lorem,laoreet at posuere risus erat.
</div>
</div>
<div class="div3">
LOAD MORE
</div>
</div>
</body>
</html>
相关文章推荐
- 帮助你实现漂亮界面的14套免费的 HTML/CSS 源码
- 用html+css+js实现的一个简单的图片切换特效
- 【html和css入门】实现简单的页首导航
- Html+css+js+jquery实现简单页面登录
- 纯CSS3单页切换导航菜单界面设计的简单实现
- HTML+CSS实现的简单注册表单
- 使用简单的html+css+javacsript实现dialog功能
- PHP+HTML+JavaScript+Css实现简单爬虫开发
- Html+Css__利用Css_Positon_fixed_实现的简单的浮动划窗
- HTML+CSS+TABLE实现简单注册
- html+css实现登录界面附效果图
- html+css实现登录界面
- 关于贴友的一个书本页面简单布局(html+css)的实现
- 用HTML+CSS实现简单的下拉列表
- html+css+js实现xp window界面及有关功能
- 用html+css+js实现的一个简单的图片切换特效
- 用html+css+jQuery实现的一个简单的图片切换特效
- HTML+CSS实现简单下拉菜单
- html、css和jquery相结合实现简单的进度条效果实例代码
- 初识网站前端--用简单的HTML+CSS+js实现的选项卡切换效果