Cascading Style Sheets (CSS) is used to control the appearance of the elements of a web page. CSS uses style rules to instruct the browser to select certain elements and apply styles and effects to them.
Chapter 1 is a good place to start if you’re new to CSS or in need of a refresher. We’ll start with a brief history of CSS and swiftly move on to getting started with CSS, looking at ways to link CSS with HTML.
When we have our CSS up and running, we’ll look at the structure of CSS by creating a static, single-column article page with basic media components such as headings, content, and imagery to see how everything works together.
Håkon Wium Lie proposed the idea of CSS in 1994, a few years after Tim Berners-Lee created HTML in 1990. CSS was introduced to separate styling from the content of the web page through the options of colors, layout, and typography.