您好我正在開發一個網站:HERECSS側邊欄背景顏色全寬
我的側邊欄背景顏色似乎在全寬度沒有得到,它在右邊奇怪的保證金。我試圖通過增加尺寸來管理,並通過調整左側的填充而向左移動,但右側似乎位於即使將背景的大小設置爲100%或200%。
`
.sidebar .widgettitle {
margin-left: -50px; !important;
background:#606060;
padding:10px 0px 10px 25px;
text-transform:uppercase !important;
width: 210%;
max-width: 210%;
background-size: 210% auto !important;
height: auto;
} `
分享一段代碼 –
感謝代碼我起訴是'.sidebar .widgettitle {{{0} {0} {0} {0}} margin-left:-50px; !重要; 背景:#606060; padding:10px 0px 10px 25px; text-transform:uppercase!important; }' –