<template>
    <div class="ht-base-grid-flex-demo">
        <ht-base-row class="demo-row" type="flex">
            <ht-base-col class="demo-col" span="6" order="4">1 | order-4</ht-base-col>
            <ht-base-col class="demo-col" span="6" order="3">2 | order-3</ht-base-col>
            <ht-base-col class="demo-col" span="6" order="2">3 | order-2</ht-base-col>
            <ht-base-col class="demo-col" span="6" order="1">4 | order-1</ht-base-col>
        </ht-base-row>
    </div>
</template>

<script>
    export default {
        name: 'HtBaseGridFlexDemo',
    }
</script>
<style lang="less">
    .ht-base-grid-flex-demo {
        .demo-col {
            background: #106CB9;
            opacity: .5;
            color: #fff;
            padding: 10px 0;
            text-align: center;
        }
        .demo-col:nth-child(odd) {
            opacity: .7;
        }
    }
</style>

