国语老师好过分噢
给我们酱多功课
你给我记住
每个人都有属于自己的梦想国
引用:
body {
background:$bgcolor URL([图片url])no-repeat;
background-attachment:fixed;
background-position: bottom right;
margin:0;
color:$textcolor;
font: x-small "Trebuchet MS", Trebuchet, Verdana, Sans-serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}
以下是背景图案重复的做法:
如图显示(点图放大)
p/s:选错图= =看起来很乱= =(像这种情况,我比较建议换过另外一个没那么花俏的图= =)
引用:
body {
background:$bgcolor URL([图片url])repeat;
background-attachment:fixed;
margin:0;
color:$textcolor;
font: x-small "Trebuchet MS", Trebuchet, Verdana, Sans-serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}
小小字典:
* no-repeat = 完全不会重复
* repeat = 横向+直向重复
* repeat-x = 橫向重复
* repeat-y = 直向重复
* left = 图片从最左边开始
* center = 图片从中间开始
* right = 图片从右边开始
* top = 图片从最高处开始
* center = 图片从中间开始
* bottom = 图片从最低开始