<template>
    <div class="ht-base-grid-demo-demo">
        <ht-base-row class="demo-row">
            <ht-base-col span="24" class="demo-col">24：100%</ht-base-col>
        </ht-base-row>
        <ht-base-row class="demo-row">
            <ht-base-col span="12" class="demo-col">12：50%</ht-base-col>
            <ht-base-col span="12" class="demo-col">12：50%</ht-base-col>
        </ht-base-row>
        <ht-base-row class="demo-row">
            <ht-base-col span="8" class="demo-col">8：33.33%</ht-base-col>
            <ht-base-col span="8" class="demo-col">8：33.33%</ht-base-col>
            <ht-base-col span="8" class="demo-col">8：33.33%</ht-base-col>
        </ht-base-row>
        <ht-base-row class="demo-row">
            <ht-base-col span="6" class="demo-col">6：25%</ht-base-col>
            <ht-base-col span="6" class="demo-col">6：25%</ht-base-col>
            <ht-base-col span="6" class="demo-col">6：25%</ht-base-col>
            <ht-base-col span="6" class="demo-col">6：25%</ht-base-col>
        </ht-base-row>
        <ht-base-row class="demo-row">
            <ht-base-col span="16" class="demo-col">16：66.66%</ht-base-col>
            <ht-base-col span="8" class="demo-col">8：33.33%</ht-base-col>
        </ht-base-row>
    </div>
</template>

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

