Width in CSS is determined by looking up the tree, while height is determined by looking down the tree. Height: 100% means 'as tall as all the things inside of me', not 'as tall as all the things I am inside of'.
Sort: