开发者

How do I make the background image scroll in an overflow: auto box?

I want the background to scroll with overflow: auto.

Is this开发者_Python百科 possible with pure CSS?


I think what you want to do is customize your background image for the div. You can control scrolling behavior with the background-attachment directive.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜