我不知道該怎麼做,但我想要有2個重複的紋理,一個重複左側,另一個重複右側。左側重複的紋理和右側重複的紋理
代替:
#header {
background-image : Url('My_Two_Textures_Combined.png');
background-repeat : repeat-x; /*Which repeats my joined textures a long the x axis*/
}
我想:
#header {
background-image : Url('My_Left_Texture');
background-repeat : repeat-x-left; /*Which would ideally repeat my texture to the left on the x axis*/
background-image : Url('My_Right_Texture');
background-repeat : repeat-x-Right; /*Which would ideally repeat my texture to the right on the x axis*/
}
我希望有辦法做到這一點,因爲我認爲它會很好看在我的網站。我會試着看看其他的方式來做到這一點,比如使用僞命令或其他方法。如果我找到任何東西,我會在這裏發佈!
那麼你的意思是,我可以有一個重複一個x,然後一個重複的x,但在第一個重複之後?但是,我只會有一個紋理。最後呈現的那個,對嗎? – MithosAnnar
你是否至少對谷歌有好奇心:之前和之後:意味着什麼? – Caelea
對不起,我問了這麼簡單的問題。 – MithosAnnar