A style sheet is a group of formatting features that define the overall look of an object in a file. Each type of style is independent of the other, and hence they are all stored separately. At core, styles are simply shortcuts for applying various formatting properties to document objects. This includes code like margins, backgrounds, font, attributes like bold, italics, inherit styles, and other such basic formatting features. The idea behind style sheets is that it allows a designer to reuse the same styling across many documents without having to write the code.
CSS is one such type of formatting model used in web design. It gives designers a wide variety of styling tools to choose from so that they can style their web pages in a uniform manner. In a nutshell, CSS uses relative references to specify colors, formatting properties, and other layout features. CSS can be written in HTML or as a set of external CSS files. To read two positive integers together, we need to write ‘style-name’ and to read one positive number of characters after that, we need to write ‘style-string’.
All modern computers support CSS. Therefore, styling web pages using CSS is not a difficult task. Most people use CSS to add complex stylistic variations to web pages without having to write the HTML code. What’s more, when we use liquid form of CSS, it allows us to quickly change the styles of the web page without reloading the page – this is especially helpful in developing prototype software where changes can be tested without the need for re-designing the page.