我有超對稱主電網設置,然後在footer
元素我用與Susy的with-grid-settings()
混入如下生成一個略有不同的網格:CompassSusy嵌套電網不給正確的列寬/利潤率
footer
+span-columns(5 omega, 5)
+with-grid-settings(5, 174px ,20px ,0)
+container
@if $dev-mode-footer == true
+susy-grid-background
height: 240px
所以footer
應跨越所有5個主要列,幷包含一個寬度略有不同的新網格,並使用mixin應用它。
那麼,然後在footer
我有一些ul
的設置爲跨越1列,但左邊距實際上加倍。
這裏是CSS:
footer
.banner
+span-columns(5 omega, 5)
height: 187
border-top: 3px solid $highlight-1
border-bottom: 3px solid $highlight-1
padding: 10px 0
ul
+pie-clearfix
li
+span-columns(1, 5)
border-right: 1px dotted $highlight-2
padding-left: 35px
和結果的圖片:
它甫一好像是對準了錯誤的電網環境。是否這兩個網格具有相同數量的列或什麼的事實?
任何人都可以幫忙嗎? – rctneil