html+css的简单界面实现

<!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>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值