【发布时间】:2015-10-10 13:06:51
【问题描述】:
有一个网格跨度(12)
有两个文本块
.main-container
.content text text text text text text text text text
.sidebar text text text text text text text text text
想这样做
写代码
span(6 at 1) //
span(3 as 9) //
但不要得到想要的。这是整个代码。
$debug: (image: show, color: rgba(#66f, .25), output: background, toggle: top right)
$susy: (columns: 12, gutters: 1/4, math: fluid, gutter-position: inside, debug: $debug)
.main-container
@include container(80%)
.content
width: 100%
height: 100%
@include span(6 at 1)
.sidebar
width: 100%
height: 100%
@include span(3 at 9)
我认为标志at 正是为此目的而设计的。但实验表明我错了。关于这个问题 - 如何使用标志 at?如何使用at 达到预期的效果?
【问题讨论】: