<template>
    <div class="ht-base-grid-offset-demo">
        <ht-base-row class="demo-row">
            <ht-base-col class="demo-col" span="8">col-8</ht-base-col>
            <ht-base-col class="demo-col" span="8" offset="8">col-8 | offset-8</ht-base-col>
        </ht-base-row>
        <br>
        <ht-base-row class="demo-row">
            <ht-base-col class="demo-col" span="6" offset="8">col-6 | offset-8</ht-base-col>
            <ht-base-col class="demo-col" span="6" offset="4">col-6 | offset-4</ht-base-col>
        </ht-base-row>
        <br>
        <ht-base-row class="demo-row">
            <ht-base-col class="demo-col" span="12" offset="8">col-12 | offset-8</ht-base-col>
        </ht-base-row>
    </div>
</template>

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

        .demo-col:nth-child(odd) {
            opacity: .7;
        }

        .demo-row {
            margin-bottom: 5px;
        }
    }
</style>

