Introduction to CSS

Tools to use

What's CSS? 🤔 

You can think of CSS as defining the design the webpage.

CSS determines the colors, the fonts and the presentation of the webpage

 

 

CSS  =  Cascading  Style  Sheets

3 ways to add CSS to HTMLđź’ˇ

1: Using inline styling ( with the style attribute)

2: Using page-specific styles ( with the style element)

3: Using an external style sheet

Let's explore each of them......👉 

CSS Rule 🤞

body {
  background-color: red;
  font-size: 20px;
}

Example of CSS rule in use

Linking CSS to HTML

  • We use the link tag
     
  • The Link tag is placed in the head element

👇

<link rel=”stylesheet” href=”./style.css” />
** The End **

Intro to CSS

By Roland Sankara

Intro to CSS

  • 8