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