html5中的css特性,HTML5中css的选择器特性

下边是自己需要设计的网页的相关代码,还在完善中。

html>

这是个网页
素外咖啡,固定
大图片
地址,电话
小图贴1
小图贴2
小图贴3
小图贴4

* {

margin: 0;

padding: 0;

border: 0;

}

body{

background-color:rgb(235,235,235);

}

#div1 {

background-color: rgb(114,46,2);

width: 640px;

height: 158px;

text-align: center;

font-size: large;

position: fixed;

}

#div2{

width: 640px;

height: 360px;

background-image: url("../images/beijing.jpg");

position: relative;

top: 158px;

}

#div3{

width: 640px;

height: 146px;

background-color: white;

font-size: large;

}

#div4{

width: 640px;

height: 189px;

position: relative;

top: 7px;

background-color: white;

}

img{

width: 625px;

height: 175px;

position: relative;

top: 7px;

left: 7px;

}

#div5{

background-image: url("../images/coffe15.jpg");

width: 308px;

height: 215px;

position: relative;

left: 7px;

top: 14px;

}

#div52{

background-image: url("../images/coffe15.jpg");

width: 308px;

height: 215px;

position: relative;

left: 322px;

top: -201px;

}

#div53{

background-image: url("../images/");

width: 308px;

height: 215px;

}#div54{

background-image: url("../images/");

width: 308px;

height: 215px;

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值