Ids & Classes
Lesson 11Author : 🦒
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; }