Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // @johncox48
- // Prioritize One Style Over Another
- <style> // within the style tag, we need to define .pink-text
- // the style tag should only have .pink-text & body included (within the style tags)
- body {
- background-color: black;
- font-family: Monospace;
- color: green;
- }
- // remove h1 {
- // remove color: pink;
- // remove }
- </style>
- <h1 class="pink-text">Hello World!</h1>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement