height body html code example Example: setting height and width on body body { min-height: 100vh; width: 100%; }