Skip to content
On this page

Flexbox And Grid

Grid Row Start / End

用于控制在网格行中元素的大小和放置方式的功能类。

使用前缀

为了防止和开发者项目中的其他原子化样式语法冲突,样式库默认添加了前缀 lwu,使用示例如下:

vue
<view class="lwu-flex"></view>

语法

row-auto

ClassProperties平台兼容性说明
row-autogrid-row: auto;H5、小程序、app-vue

row-span-[1-12]

ClassProperties平台兼容性说明
row-span-1grid-row: span 1 / span 1;H5、小程序、app-vue
row-span-2grid-row: span 2 / span 2;H5、小程序、app-vue
row-span-3grid-row: span 3 / span 3;H5、小程序、app-vue
row-span-4grid-row: span 4 / span 4;H5、小程序、app-vue
row-span-5grid-row: span 5 / span 5;H5、小程序、app-vue
row-span-6grid-row: span 6 / span 6;H5、小程序、app-vue
row-span-7grid-row: span 7 / span 7;H5、小程序、app-vue
row-span-8grid-row: span 8 / span 8;H5、小程序、app-vue
row-span-9grid-row: span 9 / span 9;H5、小程序、app-vue
row-span-10grid-row: span 10 / span 10;H5、小程序、app-vue
row-span-11grid-row: span 11 / span 11;H5、小程序、app-vue
row-span-12grid-row: span 12 / span 12;H5、小程序、app-vue

row-span-full

ClassProperties平台兼容性说明
row-span-fullgrid-row: 1 / -1;H5、小程序、app-vue

row-start-[1-13]

ClassProperties平台兼容性说明
row-start-1grid-row-start: 1;H5、小程序、app-vue
row-start-2grid-row-start: 2;H5、小程序、app-vue
row-start-3grid-row-start: 3;H5、小程序、app-vue
row-start-4grid-row-start: 4;H5、小程序、app-vue
row-start-5grid-row-start: 5;H5、小程序、app-vue
row-start-6grid-row-start: 6;H5、小程序、app-vue
row-start-7grid-row-start: 7;H5、小程序、app-vue
row-start-8grid-row-start: 8;H5、小程序、app-vue
row-start-9grid-row-start: 9;H5、小程序、app-vue
row-start-10grid-row-start: 10;H5、小程序、app-vue
row-start-11grid-row-start: 11;H5、小程序、app-vue
row-start-12grid-row-start: 12;H5、小程序、app-vue
row-start-13grid-row-start: 13;H5、小程序、app-vue

row-start-auto

ClassProperties平台兼容性说明
row-start-13grid-row-start: auto;H5、小程序、app-vue

row-end-[1-13]

ClassProperties平台兼容性说明
row-end-1grid-row-end: 1;H5、小程序、app-vue
row-end-2grid-row-end: 2;H5、小程序、app-vue
row-end-3grid-row-end: 3;H5、小程序、app-vue
row-end-4grid-row-end: 4;H5、小程序、app-vue
row-end-5grid-row-end: 5;H5、小程序、app-vue
row-end-6grid-row-end: 6;H5、小程序、app-vue
row-end-7grid-row-end: 7;H5、小程序、app-vue
row-end-8grid-row-end: 8;H5、小程序、app-vue
row-end-9grid-row-end: 9;H5、小程序、app-vue
row-end-10grid-row-end: 10;H5、小程序、app-vue
row-end-11grid-row-end: 11;H5、小程序、app-vue
row-end-12grid-row-end: 12;H5、小程序、app-vue
row-end-13grid-row-end: 13;H5、小程序、app-vue

row-end-auto

ClassProperties平台兼容性说明
row-end-13grid-row-end: auto;H5、小程序、app-vue