The function of CSS is to describe the look, layout and variations in display for different devices and screen sizes.