$backgroundColor=#c6c2a5 body background-color: #c6c2a5 background-image: linear-gradient(90deg, #c6c2a5 2px, rgba(255 255 255 0) 0), linear-gradient(180deg, #c6c2a5 2px, rgb(209 205 178) 0); background-size: .4rem .4rem margin: 0 #container padding: 1.5% 2% 2% 2% #main margin-top: 0.5% .bottom-declaration // container左右各有2%的padding // 要突破这个container,所以要先往左边拉2%,然后width+=2%*2,也就是104% margin-left: -2%; margin-top: 1.5em; width: 104%; .bottom-declaration-line border: 1.3px solid #000; .bottom-declaration-dotted background-image: linear-gradient(90deg,#333 14%,hsla(0,0%,100%,0) 0); background-repeat: repeat-x; background-size: 100px 4px; width: 100%; height: 4px; margin: 0 -2% 0; * box-sizing: border-box @import '_partials/header/*' @import '_partials/*'