0

If I have the following HTML code,

<row>
    <column width="10%">
    <column width="80%"><img />
    <column width="10%">
</row>

how can I make the row span the entire height of the view port (in vertical)?

Binarus
  • 3,745
  • 1
  • 22
  • 37
  • Possible duplicate of [Flexbox fill available space vertically](https://stackoverflow.com/questions/40020921/flexbox-fill-available-space-vertically) – redhotspike Aug 07 '18 at 18:18

1 Answers1

1

Explanation -

vh - Relative to 1% of the height of the viewport

viewport - the browser window size.

For eg: If the viewport is 50cm high, 1vh = 0.5cm.

Solution to your issue -

row {
    height: 100vh;
}
Salvatore
  • 1,345
  • 1
  • 8
  • 20