Flex layout

Hi i took a look at a code example in
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_CSS_flexible_boxes
and discovered an id used there but i couldn’t find any div or element with that id. the code looks like that below:

#main, #page {
    -webkit-flex-flow: column;
            flex-direction: column;
   }
html code is below:
<body>
 <header>header</header>
 <div id='main'>
    <article>article</article>
    <nav>nav</nav>
    <aside>aside</aside>
 </div>
 <footer>footer</footer>
  </body>

i just don’t know where and how they came up with the #page thing, as a learner i want to understand why its there. thanks for reading

Probably a mistake, since it does nothing.

thanks RyanReese am with you then, its possible they’ve not seen that,

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.