2020-12-30

Css
*{
margain:0;
padding: 0;
}
#container{
margin: 0 auto;
width: 900px;
}
#header{
height: 220px;
margin-bottom: 5px;
}
#nav{
height: 30px;
font: 18px/30px “微软雅黑”;
letter-spacing: 2px;
color: #fff;
background-color: #09c;
text-align: center;
margin-bottom: 5px;
}
#nav a{
color: white;
text-decoration: none;
}
#nav a:hover{
color: yellow;
}
#main{}
#aside{
float: left;
width: 300px;
background-color: #6cf;
font-size: 14px;
text-align: center;
}
#imglist{
width: 130px;
margin: 0 auto;
}
.public{
width: 85px;
height: 95px;
padding: 10px;
background: #eee;
border: 1px solid #bfbfbf;
box-shadow: 2px 2px 3px #000;
border-radius: 5px;
}
.public img{
width: 85px;
height: 95px;
}
.public img:hover{
transform: scale(1.2);
}
.rotate-right{
transform: rotate(7deg);
}
.rotate-left{
transform: rotate(-7deg);
}
#content{
float: right;
width: 595px;
background-color: #cff;
margin-bottom: 5px;
}
.subcont{
clear: both;
width: 570px;
}
.subcont img{
float: left;
padding: 5px;
margin: 5px;
border: 1px dashed
}
.subcont{
float: left;
width: 60%;
margin: 5px;
}
.subcont p{
font: 16px/2em “微软雅黑”;
}
#footer{
height: 60px;
background-color: #6cf;
clear: both;
line-height: 60px;
text-align: center;
}
#l-fixed{
position: fixed;
left: 10px;
top: 100px;
}
#l-fixed img{
width: 100px;
height: 100px;
}

Html

Document

咖啡MENU

拿铁
卡布奇诺
摩卡
浓缩咖啡
大杯35353535
中杯28282828
小杯20202020

拿铁Coffe Latte

这是一种传统的经典饮料--浓缩咖啡调入热牛奶,其上覆盖一层轻盈的奶沫。品尝

卡布奇诺Cappuccino

这款咖啡沿袭传统技法,由我们技艺娴熟的咖啡吧员将手工制作的热奶与细腻奶泡车

摩卡Coffe Mocha

这款咖啡由醇香的摩卡酱,浓缩咖啡和蒸奶相融相合,上面覆以搅

浓缩咖啡Espresso

这是咖啡的精粹,以最浓缩的方式显现。浓缩啡带点焦糖味道,浓厚

</div>
<div id="1-fixed"><img src="images/1.jpg" alt=""></div>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值