A transparent cosmetic composition has an ultraviolet-screening function. The transparent cosmetic composition includes an elastomer, an oil and an ultraviolet-screening agent. The transparent cosmetic composition has a transparent formulation, forms no white cast, and has a high ultraviolet-screening effect. The transparent cosmetic composition can also function as a makeup primer.