Answer the question
In order to leave comments, you need to log in
Variant of flexbox layout, perversion or "normal"?
Hello!
There is a layout jsfiddle.net/96zfsobp/
- Header (height is known)
- Three columns (left and right fixed width, central fluid)
- Footer (height is known, sticky footer)
In order to facilitate the future responsive, I want to use a simple block structure:
<div class="row">
<div class="col">
header
</div>
<div class="col">
side left
</div>
<div class="col">
content
</div>
<div class="col">
side right
</div>
<div class="col">
footer
</div>
</div>
Answer the question
In order to leave comments, you need to log in
You can, of course - header and footer are usually located directly in the body
(header, section, footer, ... tags appeared in HTML5, google it)
<header>
header
</header>
<section class="row">
<div class="col col-left"></div>
<div class="col"></div>
<div class="col col-right"></div>
</section>
<footer>
footer
</footer>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question