如何使树上的Twitter Bootstrap背景喜欢在Twitter? [英] How make tree on Twitter Bootstrap background like on Twitter?
本文介绍了如何使树上的Twitter Bootstrap背景喜欢在Twitter?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我添加了以下内容:
body {
background-image: url(https://twimg0-a.akamaihd.net/images/themes/theme2/bg.gif);
}
但树被复制多次,而不是固定在左侧。
But the tree is copied several times and not fixed on the left.
推荐答案
添加无重复
c $ c>左上角(以保持图像在所需位置)和固定
(滚动时保持图像固定) / p>
Add no-repeat
(to prevent repetition), top left
(to keep the image at the desired location) and fixed
(to keep the image fixed when you scroll):
background: url(http://...) no-repeat top left fixed;
我已经在 jsFiddle 。
这篇关于如何使树上的Twitter Bootstrap背景喜欢在Twitter?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文