您好我正在开发一个网站: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; }' –