本文介绍了我怎样才能使一个的tumblr背景图片只为一个页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的Tumblr网站的第一页有一个填满整个屏幕的背景图像,但该页面只...其他页面都会有一个白色的背景。
I would like the first page on my Tumblr website to have a background image that fills the entire screen, but for that page only...the other pages will have a white background.
请帮帮忙,我已经在这个很长time..no运气!
Please help, I have been at this for a long time..no luck!
推荐答案
如何呼吁通过{}当前页的页面数量,将其添加为一个ID?像这样的:
How about calling on the page number via {CurrentPage} and adding it as an ID? Like this:
<body id="page{CurrentPage}">
添加相应的CSS。
#page1 { background... }
希望这有助于。
这篇关于我怎样才能使一个的tumblr背景图片只为一个页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!