0
我对Neat很新,目前正在研究一个显示图像库的简单网格。整齐/欧米茄网格问题
我的代码
$mobile: new-breakpoint(max-width 500px);
$tablet: new-breakpoint(max-width 768px);
article{
background-color: #efefef;
margin-bottom: 2em;
@include span-columns(3);
@include omega(4n);
@include media($tablet){
background-color: orange;
@include span-columns(4);
@include omega(3n);
}
@include media($mobile){
background-color: yellow;
@include span-columns(6);
@include omega(2n);
}
}
现在桌面上的所有节目,因为它应该,但是当我调整为平板或移动,布局休息和我在布局获得巨大的差距.. (我希望有人可以帮助我
谢谢!谢谢迈克!这样做的诀窍,你无法想象我浪费了多少时间试图让它工作!真的很感激它,你真棒:D – user5898548