CSS - Style a Website
This course covers the basics of styling a website using CSS. Work your way through the videos/articles and I'll teach you everything you need to know to style a basic website!

Ids & Classes

Lesson 11
Author : 🦒
Last Updated : October, 2017


Code

site.htmlCopy
<h1 id="my-id">CSS Tutorial</h1> <main class="fancy-border"> <p class="blue-text"> Classes and ID's are awesome!</p> </main>
style.cssCopy
#my-id { color:blue; } .fancy-border { border: 3px dashed red; } .blue-text { color:blue; }