codegurukool.com · Free coding tutorials & online compiler

Home › CSS Tutorial › Welcome to the CSS course

Welcome to the CSS course

A short introduction before you start learning CSS.

CSS (Cascading Style Sheets) controls how a page looks: colors, fonts, spacing and layout.

What you will learn: selectors, colors, the box model, flexbox, grid and responsive design.

Press Next lesson to begin. Edit and run the code in every lesson, and take the exam at the end to earn a certificate.

Example code

<style>
  p { color: teal; }
  .big { font-size: 28px; }
  #top { background: gold; }
</style>
<p>Teal paragraph</p>
<p class="big">Big paragraph</p>
<p id="top">Gold paragraph</p>

Run this code in the online editor

All commands →