Portfolio Image Height

I looked through the code by FCC here and was a bit confused about line 422 in the css section.

Any ideas how the height of each image in the grid container was gotten? What is the 100% relative to?

There is no 422 line in css section
only upto 322 is there