CSS (Cascading Style Sheets) is the code that formats HTML elements. It provides the web browser with instructions on how to display a web page. CSS styling includes colors, spacing, size, shape, font, and other aesthetic factors.

Example CSS:

h1 {
  color: #671e86;
  font-size: 40px;
  padding: 3vh;
}

 

You can style all of a particular element, like the example above, or you can create a class.  CSS Classes are a way to format specific instances of an element.  The class can be added to an unlimited number of elements and the same class can be applied to multiple elements.

Example of a CSS Class:

.console-block {
  background-color: black;
  color: green;
  padding: 10px;
}

You can also apply CSS to an element with a specific ID, like in the example below.

#post85 {
  font-size: 16px;
  font-color: #671e86;
  font-family: Arial, Helvetica, sans-serif;
}

CSS files end with the file extension .css

style.css