2013-02-23 49 views
-1

我想用背景圖像上的點。對不起,我無法解釋它。我對附加圖像沒有足夠的聲望。請訪問:< < hisset.in >>手錶背景圖片如何使PHP上的點覆蓋背景圖像?

+0

這是您的網站 - 你想要什麼來實現?你的意思是在後臺對圖像的影響? – 2013-02-23 19:08:55

+0

@NicholasPickering是的!我該怎麼做? – 2013-02-23 19:10:56

回答

1

這是一個HTML和CSS問題。

使用兩個div,一個用於背景,另一個用於點層。

.background { 
    heigth: 100%; 
    width: 100%; 
    background: url('path/to/my/background.png'); 
} 

.dots { 
    heigth: 100%; 
    width: 100%; 
    background: url('path/to/my/dotslayer.png') repeat; //repeat the image all over the div 
} 

,並使用該圖片爲「dotslayer」(或其他類似的):http://www.hisset.in/images/dark/backgroundOverlay.png