Ids & Classes
Lesson 11Author : GOUP
Last Updated : September, 2020
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; }