【问题标题】:Use gutter removed from a column into witdh of another column - Susy使用从一列中删除的排水沟到另一列的宽度 - Susy
【发布时间】:2014-09-24 01:12:53
【问题描述】:

见下文:

Please click here to see the image, with the question http://imgr.es/26LP

我无法使用填充添加装订线,因为我使用的是Paul Irish global box sizing

按照我的代码:

    $susy: (
        columns: 12,
        gutters: 18/81,
        global-box-sizing: border-box,
        debug: (
            image: show,
        ),
   );

   .container-selector-sample {
       @include container(1170px);
   }

   .column-selector-sample {
       @include span(2);
       @include breakpoint(mobile){
           @include span(12);
       }
   }

   .column-selector-sample {
       @include span(3);
       @include breakpoint(mobile){
           @include span(12);
       }
   }

   .column-selector-sample {
       @include span(7);
       @include breakpoint(mobile){
           @include span(12);
       }

   .column-selector-sample,
   .column-selector-sample {
       @include last;       
   }

【问题讨论】:

    标签: grid susy-sass gutter


    【解决方案1】:

    Susy 有一个关键字!请参阅documentation for narrow, wide, and wider。在这种情况下,您想使用wide

    @include span(3 wide);
    

    【讨论】:

    • 感谢您的快速响应!对于这个伟大的工具包,Susy 太棒了!我之前用过关键字“wide”,但出了点问题,现在一切正常,再次感谢您!
    猜你喜欢
    • 2015-07-25
    • 1970-01-01
    • 1970-01-01
    • 2014-10-30
    • 1970-01-01
    • 1970-01-01
    • 2013-07-30
    • 2015-04-02
    • 1970-01-01
    相关资源
    最近更新 更多