我不知道這是否可能在CSS,我相信它可以在JS做,但我不知道如何...透明文本而忽略第一背景
我有一個div帶有背景和另一個背景的文本。我想要的是文本是透明的,並有第一背景作爲文字背景。我不知道這是不是清楚,所以我創建了一個搗鼓這個:
<div id="first-background">
<div id="second-background">
<h1>This text should be transparent and have the first-background as its background and ignore the second background.</h1>
</div>
</div>
它正在做你想要的東西......?或者,也許我沒有把握好。 –
即時通訊也不確定你的意思?您想要將第一個div的背景切換爲秒。 div與jQuery? – reyaner
文本應該是透明的,並忽略#second-background。它應該有#第一背景... – emcee22