DIV background-image overflow
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a DIV element with a background-image, and I want it to overflow outside the dimensions of the DIV (it now cuts off the image because the image is bigger than the DIV). Is this possible? overflow:visible doesn't work! 回答1: You can do it in alternative way: #box { margin:-50px 0 0; padding:50px 0 0 0; background:url(/images/image.png) no-repeat; } 回答2: Put the background on a larger <div> that contains your <div> . 回答3: It is very possible with CSS3. I stumbled on this post while attempting this myself and discovered I could do it.