Cascading Style Sheets, referred to as CSS, is a style sheet language used for describing the presentation of a document written in a markup language. It gives more control over the appearance of a web page to the developer than to the browser designer or the viewer.
It can be used to define table sizes, text styles, and other aspects of web pages that previously could only be described in a page’s HTML. Once the style sheet is created, it can be used by a huge number of pages that references the CSS file.
Most significantly, CSS can be easily separated from HTML, so that it is easy to find, modify and can swiftly change the look of the website.
Basically, CSS comes in three types:
external – In a separate file.
Internal – Inside the HTML page.
Inline – besides the respective text in the HTML page.
It is very easy to maintain and update a CSS file
It saves a lot of time as it can be reused in multiple HTML pages.