Zurb Foundation 6 mixin @include xy-grid()是什么意思?

时间:2018-12-11 01:07:40

标签: zurb-foundation zurb-foundation-6

这个Zurb Foundation 6 mixin是什么意思

let _ = Timer.scheduledTimer(withTimeInterval: 4.0, repeats: true) { (timer) in
    //do something
   }

它定义的是x网格还是y网格?

1 个答案:

答案 0 :(得分:1)

@include xy-grid; 这只会显示:flex。

您还可以将mixin与参数一起使用以使其垂直(网格y):

@include xy-grid($direction: vertical, $wrap: false);

API文档:https://foundation.zurb.com/sites/docs/xy-grid.html#xy-grid