Flex sidebar: how to grow to 100% of height
问题 I´m building a sidebar using CSS flex and I need it to grow vertically to fill the whole screen vertical height. Here is a skeleton of what I´m doing. JSFiddle here .app { display: flex; flex-direction: row; . align-items: flex-start; height: 100%; width: 100%; } .sidebar { background-color: red; height: 100%; } .content { width: 100%; display: flex; flex-direction: column; } .content-header { flex: 1; background-color: grey; } .content-main { flex: 1; background-color: yellow; } <div class=