Compounds with strong thermodynamic affinity for carbon dioxide (CO(2)) have been designed and synthesized that dissolve in CO(2), then associate to form gels. Upon removal of the CO(2), these gels produced free-standing foams with cells with an average diameter smaller than 1 micrometer and a bulk density reduction of 97 percent relative to the parent material.