这段css背景图片代码 怎么简写
{ background-image: url('/i/eg_bg_03.gif'); background-repeat: no-repeat; background-attachment:fixed; background-position: 50px 100px; } 怎么简写
追问:background-image: url('/i/eg_bg_03.gif');
{ background-image: url('/i/eg_bg_03.gif'); background-repeat: no-repeat; background-attachment:fixed; background-position: 50px 100px; } 怎么简写
追问:background-image: url('/i/eg_bg_03.gif');
答案:background:url('/i/eg_bg_03.gif') fixed no-repeat 50px 100px;
其他:谁帮我看看这段CSS代码,如何添加网站背景图片:下面是我网站CSS的全部代码,BODY { BACKGROUND-COLOR: #daeab2; COLOR: #000000; FONT-FAMILY: 宋体; {background:url('/i/eg_bg_03.gif') no-repeat fixed 50px 100px;}试试看!
上一个:关于在html里面使用css样式的时候,为什么要加注释符<!-- ~~~~-->,而且加了还不影响结果呢?
下一个:div css行与行之间加虚线