Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 310 Bytes

Classes to individual elements take priority over general styles.

<style>
  body {
    background-color: black;
    font-family: Monospace;
    color: green;
  }
  .pink-text{color: pink;}
</style>
<h1 class="pink-text">Hello World!</h1>

This makes for a pink h1 instead of a green one.

Something went wrong with that request. Please try again.