2016-03-16 59 views
-1

所以我需要實現這種效果。問題使堆疊的div響應另一個div與圖像

我現在用引導的方式

https://gyazo.com/089764ced3250e52c184b16f991214e0

這是我最初的代碼,但我不知道如何定位它,我已經試過一切,但它仍然是不響應的窗口。我怎麼能做到這一點,謝謝:)。

 <div class="row" id="banner-top-row"> 
      <div class="col-md-12" id="banner-top-col"> 
      <img src="img/banner-top.png" id="banner-top" class="img-responsive"/> 
       <div class="banner-information"> 
        <h4> For More Information.... </h4> 
        <h1> Contact Us </h1> 
       </div> 
      </div> 
     </div> 

回答

0

雖然我沒能得到你到底想要什麼,但如果我得到正確的,你期待成爲您的形象和內容是在中心,而不會損害響應式設計。 請看看吧,如果這個代碼片段可以幫助你

http://jsbin.com/binusu/edit?html,css,output

+0

葉八九不離十,像一面旗幟,上面的圖像在我的頁面延伸罰款和響應,但我需要添加在上面這個盒子如圖所示的圖像,並做出響應以及:)。對不起,只是澄清,內容框需要在圖像的左側:) –

+0

是的,我明白了。有點像... http://jsbin.com/binusu/edit?output – shekhardtu

+0

你就是這樣:),非常感謝 –