Skip to content

Instantly share code, notes, and snippets.

@michhub-dev
Created May 27, 2020 22:28
Show Gist options
  • Save michhub-dev/bb6ed48aa5de0102359a2dd56bbcf2bb to your computer and use it in GitHub Desktop.
Save michhub-dev/bb6ed48aa5de0102359a2dd56bbcf2bb to your computer and use it in GitHub Desktop.
!important // source https://jsbin.com/piquzof
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>!important</title>
<style>
section.ree article.ree a {
background: brown;
}
a {
background: red !important;
}
.ree {
background: skyblue;
}
.doo{
padding: 2px;
margin: 5px;
border: 2px dotted brown;
}
</style>
</head>
<body>
<section class="ree">
<h1>Hey, you there!</h1>
<article class="ree">
<h2>pick up your call!</h2>
<p>...to tell you that i'm sorry for breaking your heart..<a href="#">more</a>
<br> <br>
</article>
</section>
<h3 class= "doo">hey, yo</h3>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment