我想填充整個自由底部空間(白色)在寬度大於內容的情況下顯示的情況下如何設置css3樣式來執行此操作?填充整個底部的頁腳
CSS:
.footer {
background-color: #FFFFFF;
line-height: 20px;
/*border-top: 1px solid #DDDDDD;*/
overflow: hidden;
}
.footer .copyright {
font-family:Lato;
color: #f6f6f6;
padding: 10px 15px;
margin: 15px 3px;
line-height: 20px;
text-align: center;
font-size:0.9em;
font-weight:400;
}
.footer-color-black,
.footer-transparent {
background-color: #595324;
color: #DDDDDD;
text-align:center;
}
https://jsfiddle.net/3re9wbr2/1/
你的代碼在哪裏?放在jsfiddle或這裏 –
你嘗試了什麼? – Utkanos
@Sumitpatel https://jsfiddle.net/3re9wbr2/1/ – test