Flex-direction: column has no effect?

flex-direction set column has no effect

<section class="layout flexbox">
    <style>
        .layout.flexbox .top-center-bottom{
            display: flex;
            flex-direction: column;
        }
        .layout.flexbox .top{
            height: 100px;
            background-color: red;
        }
        .layout.flexbox .center{
            flex: 1;
            background: yellow;
        }
        .layout.flexbox .bottom{
            height: 100px;
            background-color: blue;
        }
    </style>
    <article class="top-center-bottom">
        <div class="top"></div>
        <div class="center">
            <h1>flexbox</h1>
        </div>
        <div class="bottom"></div>
    </article>
</section>

Css
Mar.29,2022

html,body{ margin:0; height:100% }/**/
.layout { height:100% }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39b86-2aefc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39b86-2aefc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?