This site:
http://chemlinks.beloit.edu/Warming/moviepages/IRconc.htm
has an animated display of CO2 absorption depending upon the concentration, but you can see where the three main groups of peaks are. From a global warming perspective, probably the most troublesome is the band around
666 wavenumbers. This is the lower-energy (longer wavelength) area in which emissions occur from lower-temperature materials on the earth's surface. The "low-grade heat" this represents fails to penetrate through our atmosphere to outer space because it is absorbed by gases like CO2, held in the atmosphere, and re-radiated in random directions. This is the basis of the Greenhouse Effect. Water has a similar effect on different infrared wavelengths.
The Greenhouse Effect does not depend directly on the humidity of the greenhouse. In a REAL greenhouse used for plant growing, the actual main barrier to the escape of low-grade heat out of the greenhouse is the glass or plastic covering. But the term also is applied to the same mechanism when one considers the earth as a whole with a "covering" of our atmosphere with its mixture of several gases. Among them several like water and CO2 are very effective at trapping the low-grade heat waves so they cannot escape outside our "greenhouse", earth. The more of these gases there are in that atmosphere, the more effective that is at trapping the heat on the earth's surface.
Within limits of course, as beginner99 points out, more CO2 may be beneficial to plants since it is their primary source of nutrients for building carbohydrate molecules for growth. For that reason one might project that, as global warming continues and CO2 and H2O levels rise in the atmosphere, plants will grow even larger and become a more important life class on the planet. Even though we use plants as food ourselves, humans probably will NOT do so well because those conditions are optimal for plants, not people. As many have said, global warming will not kill the planet. Lifeforms will continue to thrive on this earth. They just won't be the ones that we prefer.