Intro to CSS Concepts

Learning objective: By the end of this lesson, learners will know how to use CSS to style HTML pages, keeping the website’s content separate from its design.

What is CSS?

CSS (Cascading Style Sheets) is a web technology that formats and styles HTML documents. It also provides stylistic behaviors using CSS animations. CSS controls a web page’s layout, colors, fonts, and other visual aspects.

CSS enables us to separate a document’s structure & content (HTML) from its presentation (CSS). This concept of separation of concerns is widespread throughout software development. It helps make programs more maintainable and can provide better code reuse.

Why use CSS?

There are many reasons to use CSS, including: