我想創建此。
我到目前爲止是這樣的,但它不響應屏幕尺寸的變化。它保持在特定的寬度,這就是爲什麼我想用圖像替換它
<div class="container-fluid">
<div class="betn-footer">
</div>
</div>
.betn-footer{
background-color:#f4f3f3;
height:50px;
text-align:center;
position:absolute;
border-bottom-left-radius:50%;
border-bottom-right-radius:50%;
margin-top:-20px;
margin-left:65px;
width:973.88px;
box-shadow: 0 21px 30px -10px #080808;
}
告訴我是否有其他選項可以做到這一點。謝謝!
您可以從一組'px'寬度寬度更改爲''%。 – Albzi
我試過這個,但是對於每個屏幕尺寸,我必須更改左邊距 –
您是使用引導還是您自己的「容器流體」類? – thepio