alibaba-fusion / layout

React Layout Components
MIT License
52 stars 19 forks source link

Grid 移动端响应式方案 #2

Closed youluna closed 5 years ago

youluna commented 5 years ago

<Grid span={12} s-span={12} xs-span={12} />

gap(gutter)没有自适应

image

对应关系:

span s-span xs-span
共 12 栏 共 8 栏 共 4 栏
1 2 2
2 2 2
3 4 4
4 4 4
5 4 4
6 8 4
7 8 4
8 8 4
9 8 4
10 8 4
11 8 4
12 8 4

image

youluna commented 5 years ago

done