这样就没有效果吗?

来源:5-4 CSS3背景 multiple backgrounds

TeLiCH

2018-07-06 19:49

 background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat, 

               url(http://static.mukewang.com/static/img/logo_index.png) no-repeat;

background-position:left top,right bottom; 


写回答 关注

1回答

  • 慕后端5507037
    2018-07-07 12:54:00

    background-size: cover;

    背景图片太小,如果需要整个背景填充,需要设置size。

    在safari浏览,这个资源403.

十天精通CSS3

本课程为CSS3入门教程,深刻详解CSS3知识让网页穿上绚丽装备

242731 学习 · 2623 问题

查看课程

相似问题