【ife】任务六:通过HTML及CSS模拟报纸排版

#news{
	width:980px;
	height:1386px;
	margin-right:44px;
}
#title{
	width:110px;
	height:61px;
	background:red;
	float:left;
	margin-left:44px;
}
#time{
	position:relative;
	width:110px;
	height:61px;
	float:right;
	margin-right:44px;
}
#text{
	width:110px;
	position:absolute;
	right:0;
	bottom:0;
	text-align:right;
}
#line1{
	clear:both;
	width:892px;
	height:2px;
	background:#938e8c;
	margin:0 auto 20px auto;
}
#img{
	position:relative;
	width:641px;
	height:301px;
	background:url('../images/task6_1.png');
	float:left;
	margin-left:44px;
	margin-right:48px;
}
#zindex1{
	width:191px;
	height:301px;
	position:absolute;
	left:0;
	background:green;
	opacity:0.5;
}
#zindex2{
	width:191px;
	height:301px;
	position:absolute;
	right:0;
	background:pink;
	opacity:0.5;
}
#line2{
	width:203px;
	height:2px;
	background:#cc8091;
	float:right;
	margin-right:44px;
}
#texts{
	position:relative;
	width:203px;
	height:299px;
	float:left;
}
#one1,#one2{
	width:a
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值