我發現以下站點的接觸部分持續在底部蔓延,特別是當窗口寬度減少到手機大小:如何阻止內容溢出其容器?
http://phixhut.com/test/1page/onepage.html#contact
的CSS我對覆蓋節:
-webkit-transition: all 500ms ease;
transition: all 500ms ease;
padding: 55px 0 15px 0;
width: 100%;
background-color: #83aa30;
background-color: rgba(131, 170, 48, 0.6);
background-image: url("../images/GPlay.svg");
position: absolute;
bottom: 0px;
top: 0px;
如果我刪除了「top:0px」,但底部的溢出消失了,但它似乎溢出了頂部。
不知道如何去取得聯繫部分調整大小pefectly停止這些溢出。任何幫助將不勝感激!
看來你正在尋找溢出:隱藏 – nikhil
或溢出:汽車;如果你想div可以滾動,也應該設置高度。 – OSDM